Fixes E305 linting error: use shell only when required.

pull/68/head
Jeff Geerling 6 years ago
parent be44ac2dcd
commit 00dc226101
  1. 2
      tasks/create-cert-standalone.yml

@ -12,7 +12,7 @@
with_items: "{{ certbot_create_standalone_stop_services }}"
- name: Generate new certificate if one doesn't exist.
shell: "{{ certbot_create_command }}"
command: "{{ certbot_create_command }}"
when: not letsencrypt_cert.stat.exists
- name: Start services after cert has been generated.

Loading…
Cancel
Save