Replace shell with command module

This commit is contained in:
Simon Spannagel 2019-11-08 19:17:22 +01:00
parent ca46eab49f
commit e669ab0ac4

View File

@ -13,5 +13,5 @@
when: certbot_deployhook is defined
- name: Generate new certificate if one doesn't exist.
shell: "{{ certbot_create_command }}"
command: "{{ certbot_create_command }}"
when: not letsencrypt_cert.stat.exists