mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2026-10-05 08:03:16 +02:00
Fixes #12: Document how to generate certs automatically using certbot --standalone.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
name: "{{ item }}"
|
||||
state: stopped
|
||||
when: not letsencrypt_cert.stat.exists
|
||||
with_items: "{{ certbot_create_stop_services }}"
|
||||
with_items: "{{ certbot_create_standalone_stop_services }}"
|
||||
|
||||
- name: Generate new certificate if one doesn't exist.
|
||||
shell: "{{ certbot_create_command }}"
|
||||
@@ -20,4 +20,4 @@
|
||||
name: "{{ item }}"
|
||||
state: started
|
||||
when: not letsencrypt_cert.stat.exists
|
||||
with_items: "{{ certbot_create_stop_services }}"
|
||||
with_items: "{{ certbot_create_standalone_stop_services }}"
|
||||
|
||||
Reference in New Issue
Block a user