ansible-role-nextcloud/tasks/apache.yml

17 lines
450 B
YAML

---
- name: "apache: {{ instance.domain }}: Module laden"
apache2_module:
state: present
name: "{{ item }}"
with_items:
- macro
- proxy_fcgi
- setenvif
notify: restart apache
- name: "apache: {{ instance.domain }}: Seite einrichten"
lineinfile:
path: /etc/apache2/conf-available/nextcloud_sites.conf
insertafter: "^Ansbile"
line: "Use NCSite {{ instance.domain }} {{ instance.user }}"
notify: reload apache