infrastructure/playbooks/run-watchtower.yml

10 lines
248 B
YAML

---
- name: Run watchtower
hosts: serguzim_net
become: true
tasks:
- name: Run watchtower
ansible.builtin.command:
cmd: ./run-once.sh
chdir: "{{ (services_path, 'watchtower') | path_join }}"
changed_when: true