Apache-Einrichtung des Aliases

This commit is contained in:
phil 2021-06-26 02:53:44 +02:00
parent 2b518c2b2c
commit 6dcde84319
4 changed files with 52 additions and 0 deletions

View file

@ -26,6 +26,11 @@
loop: "{{ instances }}"
loop_control:
loop_var: instance
- name: "Apache: Vorlage für Seitenkonfiguration kopieren"
copy:
src: apache_site.conf
dest: /etc/apache/sites-available/nextcloud.conf
- name: "Webserver einrichten"
include_tasks: apache.yml
@ -33,6 +38,12 @@
loop_control:
loop_var: instance
- name: "Apache: Seitenkonfiguration aktivieren"
file:
src: /etc/apache/sites-available/nextcloud.conf
dest: /etc/apache/sites-enabled/nextcloud.conf
state: link
- import_tasks: redis.yml
- name: "Nextcloud einrichten"