ansible/cron/caddy-builds-soleil.yaml

12 lines
456 B
YAML
Raw Normal View History

2023-07-14 21:16:51 +05:30
---
2023-11-09 18:08:36 +05:30
- name: Caddy Builds on IN Node (Weekly Cron)
hosts: in
2023-07-14 21:16:51 +05:30
tasks:
- name: Do the thing
2024-06-04 21:57:40 +05:30
ansible.builtin.command: xcaddy build --with github.com/caddy-dns/rfc2136@master --with github.com/gi-yt/ratelimit@master --with github.com/aksdb/caddy-cgi/v2@master --output /var/www/caddy-build/api/download
2023-07-14 21:16:51 +05:30
register: out
changed_when: out.rc != 0
- name: Print output of thing
ansible.builtin.debug:
var: out.stderr_lines