2
0
Fork 0
mirror of https://github.com/davestephens/ansible-nas synced 2025-01-16 13:33:55 +00:00
ansible-nas/tasks/watchtower.yml

13 lines
326 B
YAML
Raw Normal View History

---
- 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 }}"
2018-12-28 23:28:30 +00:00
command: "{{ watchtower_command }}"
restart_policy: unless-stopped
memory: 1g