fix caddy cron

This commit is contained in:
Arya 2023-11-09 18:08:36 +05:30
parent 7d35be7c0e
commit fb580e392b
Signed by: arya
GPG Key ID: 842D12BDA50DF120

View File

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