mirror of
https://github.com/iiab/iiab.git
synced 2025-02-14 20:22:08 +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
|
mode=0644
|
||||||
when: nextcloud_enabled
|
when: nextcloud_enabled
|
||||||
|
|
||||||
- name: For redhat, remove the config file
|
|
||||||
file: path=/etc/{{ apache_config_dir }}/nextcloud.conf
|
|
||||||
state=absent
|
|
||||||
|
|
||||||
- name: Enable nextcloud
|
- name: Enable nextcloud
|
||||||
file: path=/etc/apache2/sites-enabled/nextcloud.conf
|
file: path=/etc/apache2/sites-enabled/nextcloud.conf
|
||||||
src=/etc/apache2/sites-available/nextcloud.conf
|
src=/etc/apache2/sites-available/nextcloud.conf
|
||||||
state=link
|
state=link
|
||||||
when: nextcloud_enabled and is_debuntu
|
when: nextcloud_enabled and is_debuntu
|
||||||
|
|
||||||
- name: Disable nextcloud
|
- name: For redhat, remove the config file
|
||||||
file: path=/etc/apache2/sites-enabled/nextcloud.conf
|
file: path=/etc/{{ apache_config_dir }}/nextcloud.conf
|
||||||
state=absent
|
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
|
- name: Restart apache, so it picks up the new aliases
|
||||||
service: name={{ apache_service }} state=restarted
|
service: name={{ apache_service }} state=restarted
|
||||||
|
|
Loading…
Reference in a new issue