mirror of
https://github.com/rocky-linux/ansible-role-ipa-getcert.git
synced 2024-12-22 08:28:31 +00:00
add rescue block
This commit is contained in:
parent
baa38c2f5c
commit
727340cd31
@ -77,5 +77,9 @@
|
||||
when:
|
||||
- ipa_getcert_chain
|
||||
- ipa_cert_request.rc == 0
|
||||
rescue:
|
||||
- name: "Erroring out with message"
|
||||
debug:
|
||||
msg: "We caught an error, likely with the ipa-getcert script. Please verify the output."
|
||||
when:
|
||||
- ipacheck.rc == 0
|
||||
|
Loading…
Reference in New Issue
Block a user