Merge pull request #8 from timbrd/ansible_check_mode

Don't try to list certificate information when on ansible check mode
This commit is contained in:
Nick Janetakis 2020-08-23 11:16:35 -04:00 committed by GitHub
commit f5f32583dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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