display error when hook fails
This commit is contained in:
@@ -84,7 +84,9 @@
|
||||
tags: acme_install
|
||||
|
||||
- name: Perform ACME challenge for each domain
|
||||
command: acme-renew-cert -v -c {{ acme_config_file | quote }}
|
||||
command: acme-renew-cert -c {{ acme_config_file | quote }}
|
||||
changed_when: "'No domain to renew' not in _acme_challenge.stdout"
|
||||
register: _acme_challenge
|
||||
tags: acme_challenge
|
||||
|
||||
- name: Setup cron job for ACME certificates renewal of {{ domain_name }}
|
||||
|
||||
Reference in New Issue
Block a user