mirror of
https://github.com/nickjj/ansible-acme-sh.git
synced 2024-10-31 07:29:31 +01:00
Don't try to list certificate information when on ansible check mode
In check mode ansible does not execute shell scripts, so there are no certificate information to show
This commit is contained in:
parent
c8a90f6c57
commit
333c0b31fb
@ -229,4 +229,4 @@
|
||||
- name: List acme.sh certificate information
|
||||
debug:
|
||||
msg: "{{ list_domains.stdout_lines }}"
|
||||
when: acme_sh_list_domains and not acme_sh_uninstall
|
||||
when: not ansible_check_mode and acme_sh_list_domains and not acme_sh_uninstall
|
||||
|
Loading…
Reference in New Issue
Block a user