|
@ -14,6 +14,7 @@ |
|
|
service: |
|
|
service: |
|
|
name: "{{ webserver_name }}" |
|
|
name: "{{ webserver_name }}" |
|
|
state: stopped |
|
|
state: stopped |
|
|
|
|
|
ignore_errors: yes |
|
|
|
|
|
|
|
|
- name: request certificate |
|
|
- name: request certificate |
|
|
command: > |
|
|
command: > |
|
@ -33,6 +34,7 @@ |
|
|
service: |
|
|
service: |
|
|
name: "{{ webserver_name }}" |
|
|
name: "{{ webserver_name }}" |
|
|
state: started |
|
|
state: started |
|
|
|
|
|
ignore_errors: yes |
|
|
|
|
|
|
|
|
- name: Add systemd timer for cert renewal |
|
|
- name: Add systemd timer for cert renewal |
|
|
template: |
|
|
template: |
|
@ -49,4 +51,4 @@ |
|
|
name: certbot.timer |
|
|
name: certbot.timer |
|
|
state: started |
|
|
state: started |
|
|
enabled: true |
|
|
enabled: true |
|
|
daemon_reaload: true |
|
|
|
|
|
|
|
|
daemon_reload: true |