mirror of
https://github.com/rocky-linux/ansible-role-ipa-getcert.git
synced 2024-12-22 16:38:30 +00:00
add rescue block
This commit is contained in:
parent
baa38c2f5c
commit
727340cd31
@ -77,5 +77,9 @@
|
|||||||
when:
|
when:
|
||||||
- ipa_getcert_chain
|
- ipa_getcert_chain
|
||||||
- ipa_cert_request.rc == 0
|
- 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:
|
when:
|
||||||
- ipacheck.rc == 0
|
- ipacheck.rc == 0
|
||||||
|
Loading…
Reference in New Issue
Block a user