ansible/cron/caddy-builds-soleil.yaml
2024-01-10 19:44:09 +05:30

12 lines
418 B
YAML

---
- name: Caddy Builds on IN Node (Weekly Cron)
hosts: in
tasks:
- name: Do the thing
ansible.builtin.command: xcaddy build --with github.com/caddy-dns/rfc2136@master --with github.com/mholt/caddy-ratelimit@master --output /var/www/caddy-build/api/download
register: out
changed_when: out.rc != 0
- name: Print output of thing
ansible.builtin.debug:
var: out.stderr_lines