ansible-role-nextcloud/tasks/common.yml

27 lines
739 B
YAML

---
- name: "common: Apache-Module laden"
apache2_module:
state: present
name: "{{ item }}"
with_items:
- macro
- proxy_fcgi
- setenvif
notify: restart apache
- name: "common: Apache-Vorlage für Seitenkonfiguration kopieren"
copy:
src: roles/nextcloud/files/apache_site.conf
dest: /etc/apache2/sites-available/nextcloud.conf
- name: "common: Apache-Seitenkonfiguration aktivieren"
file:
src: /etc/apache2/sites-available/nextcloud.conf
dest: /etc/apache2/sites-enabled/nextcloud.conf
state: link
notify: reload apache
- name: "common: Kopiere PHP-CLI-Konfiguration"
copy:
src: roles/nextcloud/files/30-sao.ini
dest: "/etc/php/{{ php_version }}/cli/conf.d/30-sao.ini"