ansible-nas/tasks/watchtower.yml
2018-12-29 00:22:51 +00:00

14 lines
328 B
YAML

---
- name: Watchtower Docker Container
docker_container:
name: watchtower
image: v2tec/watchtower
pull: true
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
env:
TZ: "{{ ansible_nas_timezone }}"
command: "{{ watchtower_command }}"
restart_policy: unless-stopped
memory: 1g