ansible-role-nextcloud/tasks/apache.yml

14 lines
441 B
YAML
Raw Normal View History

2020-12-03 23:14:27 +01:00
---
- name: "apache: {{ instance.name }}: Seite einrichten"
2020-12-03 23:14:27 +01:00
lineinfile:
path: /etc/apache2/conf-available/nextcloud_sites.conf
insertafter: "^Ansbile"
line: "Use NCSite {{ instance.name }} {{ instance.user }}"
2020-12-03 23:14:27 +01:00
notify: reload apache
2021-06-26 02:53:44 +02:00
- name: "apache: {{ instance.alias }}: Alias einrichten"
template:
src: apache2/custom.conf.j2
dest: "{{ apache_custom_conf_path }}/{{ instance.name }}.conf"
2021-06-26 02:53:44 +02:00
notify: reload apache