ansible-role-nextcloud/tasks/apache.yml

13 lines
441 B
YAML

---
- name: "apache: {{ instance.name }}: Seite einrichten"
lineinfile:
path: /etc/apache2/conf-available/nextcloud_sites.conf
insertafter: "^Ansbile"
line: "Use NCSite {{ instance.name }} {{ instance.user }}"
notify: reload apache
- name: "apache: {{ instance.alias }}: Alias einrichten"
template:
src: apache2/custom.conf.j2
dest: "{{ apache_custom_conf_path }}/{{ instance.name }}.conf"
notify: reload apache