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
|
||||
group: root
|
||||
mode: 0644
|
||||
when: zimbra_policyd == 'y'
|
||||
|
||||
- name: Configuring PolicyD Web Interface
|
||||
file:
|
||||
src: /opt/zimbra/common/share/webui
|
||||
dest: /opt/zimbra/data/httpd/htdocs/webui
|
||||
state: link
|
||||
when: zimbra_policyd == 'y'
|
||||
|
||||
- name: Enable PolicyD Web Interface
|
||||
lineinfile:
|
||||
|
|
@ -67,3 +69,4 @@
|
|||
regexp: "^ DirectoryIndex index.html index.html.var"
|
||||
line: " DirectoryIndex index.html index.html.var index.php"
|
||||
state: present
|
||||
when: zimbra_policyd == 'y'
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
- include: 'install/zimbra.yml'
|
||||
when: getent_passwd.rc == 2
|
||||
- include: 'install/policyd.yml'
|
||||
when: getent_passwd.rc == 2 and zimbra-policyd == 'y'
|
||||
when: getent_passwd.rc == 2 and zimbra_policyd == 'y'
|
||||
|
||||
#
|
||||
# Configuration process
|
||||
|
|
|
|||
Loading…
Reference in New Issue