- ---
-
- - name: restart apache2
- service:
- name: apache2
- state: restarted
- listen:
- - certificate changed
- - restart webserver
- when: nextcloud_webserver == 'apache2'
-
- - name: restart nginx
- service:
- name: nginx
- state: restarted
- listen:
- - certificate changed
- - restart webserver
- when: nextcloud_webserver == 'nginx'
|