2023-07-14 21:16:51 +05:30
|
|
|
---
|
|
|
|
- name: Caddy Builds on Soleil (Weekly Cron)
|
|
|
|
hosts: core
|
|
|
|
tasks:
|
|
|
|
- name: Do the thing
|
2023-08-16 15:03:07 +05:30
|
|
|
ansible.builtin.command: xcaddy build --with github.com/caddy-dns/rfc2136@master --with github.com/mholt/caddy-ratelimit --with github.com/caddyserver/replace-response --output /var/www/caddy-build/bin
|
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
|