1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

nextcloud shims

This commit is contained in:
Jerry Vonau 2020-01-04 05:47:41 -06:00
parent 6eb8f20de6
commit fc509f43f1

View file

@ -23,11 +23,25 @@
state: absent
when: not nextcloud_enabled and is_redhat
- name: Install Nextcloud's nginx conf.d file from template
template:
src: nextcloud-nginx.conf
dest: "{{ nginx_config_dir }}/nextcloud-nginx.conf"
when: nextcloud_enabled and nginx_enabled
- name: Restart {{ apache_service }}, enabling/disabling http://box/nextcloud
systemd:
name: "{{ apache_service }}"
daemon-reload: yes
state: restarted
when: apache_enabled | bool
- name: Restart nginx enabling/disabling http://box/nextcloud
systemd:
name: nginx
daemon-reload: yes
state: restarted
when: nginx_enabled
- name: Add 'nextcloud' variable values to {{ iiab_ini_file }}
ini_file: