ansible-role-nextcloud/tasks/apache_common.yml

23 lines
579 B
YAML
Raw Normal View History

---
- name: "apache_common: Module laden"
apache2_module:
state: present
name: "{{ item }}"
with_items:
- macro
- proxy_fcgi
- setenvif
notify: restart apache
- name: "apache_common: Vorlage für Seitenkonfiguration kopieren"
copy:
src: roles/nextcloud/files/apache_site.conf
dest: /etc/apache2/sites-available/nextcloud.conf
- name: "apache_common: Seitenkonfiguration aktivieren"
file:
src: /etc/apache2/sites-available/nextcloud.conf
dest: /etc/apache2/sites-enabled/nextcloud.conf
state: link
notify: reload apache