Remove watchtower, and do updates manually from now on
Keeps @IronicBadger happy!
This commit is contained in:
parent
efd22010b7
commit
47ad40bb52
4 changed files with 0 additions and 34 deletions
|
@ -24,7 +24,6 @@
|
||||||
docker_users:
|
docker_users:
|
||||||
- "{{ user }}"
|
- "{{ user }}"
|
||||||
- docker_cleanup
|
- docker_cleanup
|
||||||
- watchtower
|
|
||||||
- traefik
|
- traefik
|
||||||
|
|
||||||
# ZFS Hosts
|
# ZFS Hosts
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
version: "2.3"
|
|
||||||
services:
|
|
||||||
watchtower:
|
|
||||||
image: containrrr/watchtower:latest
|
|
||||||
volumes:
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
|
||||||
- "{{ home }}/.docker/config.json:/config.json:ro"
|
|
||||||
- /etc/timezone:/etc/timezone:ro
|
|
||||||
environment:
|
|
||||||
- WATCHTOWER_CLEANUP=true
|
|
||||||
- WATCHTOWER_SCHEDULE=0 12 * * *
|
|
||||||
restart: unless-stopped
|
|
|
@ -1,4 +0,0 @@
|
||||||
- name: restart watchtower
|
|
||||||
shell:
|
|
||||||
chdir: /opt/watchtower
|
|
||||||
cmd: "{{ docker_update_command }}"
|
|
|
@ -1,17 +0,0 @@
|
||||||
- name: Create install directory
|
|
||||||
file:
|
|
||||||
path: /opt/watchtower
|
|
||||||
state: directory
|
|
||||||
owner: "{{ docker_user.name }}"
|
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
|
||||||
become: true
|
|
||||||
|
|
||||||
- name: Install compose file
|
|
||||||
template:
|
|
||||||
src: files/docker-compose.yml
|
|
||||||
dest: /opt/watchtower/docker-compose.yml
|
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
|
||||||
owner: "{{ docker_user.name }}"
|
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
|
||||||
notify: restart watchtower
|
|
||||||
become: true
|
|
Loading…
Reference in a new issue