mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2026-10-05 08:03:16 +02:00
Fixes E305 linting error: use shell only when required.
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
with_items: "{{ certbot_create_standalone_stop_services }}"
|
with_items: "{{ certbot_create_standalone_stop_services }}"
|
||||||
|
|
||||||
- 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
|
||||||
|
|
||||||
- name: Start services after cert has been generated.
|
- name: Start services after cert has been generated.
|
||||||
|
|||||||
Reference in New Issue
Block a user