mirror of https://github.com/lucascbeyeler/zimbra
Bugfix - PolicyD broking the script
This commit is contained in:
parent
2570903fa7
commit
af496f1ab0
|
|
@ -54,12 +54,14 @@
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 0644
|
mode: 0644
|
||||||
|
when: zimbra_policyd == 'y'
|
||||||
|
|
||||||
- name: Configuring PolicyD Web Interface
|
- name: Configuring PolicyD Web Interface
|
||||||
file:
|
file:
|
||||||
src: /opt/zimbra/common/share/webui
|
src: /opt/zimbra/common/share/webui
|
||||||
dest: /opt/zimbra/data/httpd/htdocs/webui
|
dest: /opt/zimbra/data/httpd/htdocs/webui
|
||||||
state: link
|
state: link
|
||||||
|
when: zimbra_policyd == 'y'
|
||||||
|
|
||||||
- name: Enable PolicyD Web Interface
|
- name: Enable PolicyD Web Interface
|
||||||
lineinfile:
|
lineinfile:
|
||||||
|
|
@ -67,3 +69,4 @@
|
||||||
regexp: "^ DirectoryIndex index.html index.html.var"
|
regexp: "^ DirectoryIndex index.html index.html.var"
|
||||||
line: " DirectoryIndex index.html index.html.var index.php"
|
line: " DirectoryIndex index.html index.html.var index.php"
|
||||||
state: present
|
state: present
|
||||||
|
when: zimbra_policyd == 'y'
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
- include: 'install/zimbra.yml'
|
- include: 'install/zimbra.yml'
|
||||||
when: getent_passwd.rc == 2
|
when: getent_passwd.rc == 2
|
||||||
- include: 'install/policyd.yml'
|
- include: 'install/policyd.yml'
|
||||||
when: getent_passwd.rc == 2 and zimbra-policyd == 'y'
|
when: getent_passwd.rc == 2 and zimbra_policyd == 'y'
|
||||||
|
|
||||||
#
|
#
|
||||||
# Configuration process
|
# Configuration process
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue