You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
350B

  1. ---
  2. - name: restart apache2
  3. service:
  4. name: apache2
  5. state: restarted
  6. listen:
  7. - certificate changed
  8. - restart webserver
  9. when: nextcloud_webserver == 'apache2'
  10. - name: restart nginx
  11. service:
  12. name: nginx
  13. state: restarted
  14. listen:
  15. - certificate changed
  16. - restart webserver
  17. when: nextcloud_webserver == 'nginx'