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.

21 lines
458B

  1. ---
  2. - name: apache2 nextcloud vhost
  3. template:
  4. src: apache-vhost.conf.j2
  5. dest: /etc/apache2/sites-available/nextcloud.conf
  6. notify: restart apache2
  7. - name: apache2 nextcloud vhost enabled
  8. file:
  9. src: ../sites-available/nextcloud.conf
  10. dest: /etc/apache2/sites-enabled/nextcloud.conf
  11. state: link
  12. notify: restart apache2
  13. - name: apache2 rewrite module
  14. apache2_module:
  15. name: rewrite
  16. state: present
  17. notify: restart apache2