Replace shell with command module

pull/97/head
Simon Spannagel 5 years ago
parent ca46eab49f
commit e669ab0ac4
  1. 2
      tasks/create-cert-webroot.yml

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

Loading…
Cancel
Save