ansible-role-nextcloud/tasks/common.yml

34 lines
911 B
YAML
Raw Normal View History

---
2021-08-18 20:58:26 +02:00
- name: "common: Apache-Module laden"
apache2_module:
state: present
name: "{{ item }}"
with_items:
- macro
- proxy_fcgi
- setenvif
notify: restart apache
2021-08-18 20:58:26 +02:00
- name: "common: Apache-Vorlage für Seitenkonfiguration kopieren"
copy:
src: roles/nextcloud/files/apache_site.conf
dest: /etc/apache2/sites-available/nextcloud.conf
2021-08-23 15:39:15 +02:00
2021-08-18 20:58:26 +02:00
- 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"
2021-08-18 21:08:44 +02:00
- name: "common: Kopiere Update-Skript"
template:
2021-08-18 21:21:50 +02:00
src: roles/nextcloud/templates/nextcloud-updater.j2
2021-08-18 21:08:44 +02:00
dest: "{{ local_scripts_dir }}/nextcloud-updater"
mode: 0755