mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
nextcloud shims
This commit is contained in:
parent
6eb8f20de6
commit
fc509f43f1
1 changed files with 14 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue