@ -11,11 +11,13 @@
tags:
tags:
- 'packages'
- 'packages'
- name : Shutdown webservers
service:
name : "{{ webserver_name }}"
state : stopped
ignore_errors : yes
# Standard nginx installation should not listen on port 80
# -> This is probably not required.
#- name: 'shutdown webservers'
# service:
# name: '{{ webserver_name }}'
# state: 'stopped'
# ignore_errors: true
- name : 'request certificate'
- name : 'request certificate'
command : >
command : >
@ -35,11 +37,11 @@
tags:
tags:
- 'tls_pub'
- 'tls_pub'
- name : Restart webservers
service:
name : "{{ webserver_name }}"
state : started
ignore_errors : yes
#- name: 'restart webservers'
# service:
# name: '{{ webserver_name }}'
# state: 'started'
# ignore_errors: true
- name : 'add systemd timer for cert renewal'
- name : 'add systemd timer for cert renewal'
template:
template: