Replace shell with command module

This commit is contained in:
Simon Spannagel
2021-11-22 07:25:31 +01:00
parent ca46eab49f
commit e669ab0ac4
+1 -1
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