mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 19:22:24 +00:00
fixes to enable in debian
This commit is contained in:
parent
70c9f95383
commit
d4fab95868
1 changed files with 3 additions and 7 deletions
|
@ -13,20 +13,16 @@
|
|||
mode=0644
|
||||
when: nextcloud_enabled
|
||||
|
||||
- name: For redhat, remove the config file
|
||||
file: path=/etc/{{ apache_config_dir }}/nextcloud.conf
|
||||
state=absent
|
||||
|
||||
- name: Enable nextcloud
|
||||
file: path=/etc/apache2/sites-enabled/nextcloud.conf
|
||||
src=/etc/apache2/sites-available/nextcloud.conf
|
||||
state=link
|
||||
when: nextcloud_enabled and is_debuntu
|
||||
|
||||
- name: Disable nextcloud
|
||||
file: path=/etc/apache2/sites-enabled/nextcloud.conf
|
||||
- name: For redhat, remove the config file
|
||||
file: path=/etc/{{ apache_config_dir }}/nextcloud.conf
|
||||
state=absent
|
||||
when: not nextcloud_enabled and is_debian
|
||||
when: not nextcloud_enabled and is_redhat
|
||||
|
||||
- name: Restart apache, so it picks up the new aliases
|
||||
service: name={{ apache_service }} state=restarted
|
||||
|
|
Loading…
Reference in a new issue