ansible-roles/webapps/nextcloud/tasks/apache-system.yml
Ludovic Poujol 5c7a7fe768 webapp/nextlcloud: Reorganize tasks files
- Apache : Split system/vhost stuff
- MySQL : Rename task file to follow same convention as apache
2022-09-01 12:46:37 +02:00

30 lines
768 B
YAML

---
- name: Enable apache2 php configuration
copy:
src: "zzz-apache2-evolinux-custom.ini"
dest: "/etc/php/7.4/apache2/conf.d/zzz-evolinux-custom.ini"
mode: "0644"
owner: root
group: root
force: yes
notify: reload apache
tags:
- nextcloud
- name: Enable cli php configuration
copy:
src: "zzz-cli-evolinux-custom.ini"
dest: "/etc/php/7.4/cli/conf.d/zzz-evolinux-custom.ini"
mode: "0644"
owner: root
group: root
force: yes
notify: reload apache
tags:
- nextcloud
# - name: Generate ssl config
# shell:
# cmd: "/usr/local/sbin/vhost-domains {{ nextcloud_instance_name }} | /usr/local/sbin/make-csr {{ nextcloud_instance_name }}"
# creates: "/etc/nginx/ssl/{{ nextcloud_instance_name }}.conf"