Resolving issue #2, updating documentation, and made the reboot task work again

This commit is contained in:
lucascbeyeler
2017-02-18 11:32:52 -02:00
parent f264d3b728
commit a3d7e7514b
6 changed files with 45 additions and 27 deletions
+9 -1
View File
@@ -15,4 +15,12 @@
- include: nodistro/modify-logo.yml
when: zmlogologin is defined and zmlogoapp is defined
- include: nodistro/policyd.yml
notify: reboot-machine
#
# Rebooting the Machine
###################################
- name: Rebooting the machine to apply the changes
shell: sleep 2 && shutdown -r now "Ansible updates triggered"
async: 1
poll: 0
ignore_errors: true
-5
View File
@@ -1,8 +1,3 @@
# FILE: install-zimbra
# AUTHOR: Lucas Costa Beyeler
# E-MAIL: lucas.costab@outlook.com
# LAST CHANGE: 09/03/2016
#
# Here we will download and install the Zimbra Server for first use. This
# playbook was made in a way to be used the same code for ever distro.
# PLEASE - If you made a change here, remember to do in a way that every distro
+8 -6
View File
@@ -1,14 +1,9 @@
# FILE: install-zimbra
# AUTHOR: Lucas Costa Beyeler
# E-MAIL: lucas.costab@outlook.com
# LAST CHANGE: 15/02/2017
#
# Playbook file to install and activate the PolicyD service in the Open Source Edition.
# PLEASE - If you made a change here, remember to do in a way that every distro
# can use this change. Otherwise, please use the folder RedHat/Debian.
- name: Installing and Enabling the PolicyD Service
shell: ./zmprov ms `zmhostname` +zimbraServiceInstalled cbpolicyd +zimbraServiceEnabled cbpolicyd
shell: ./zmprov ms {{ hostname }}.{{ domain }} +zimbraServiceInstalled cbpolicyd +zimbraServiceEnabled cbpolicyd
args:
chdir: /opt/zimbra/bin/
@@ -25,3 +20,10 @@
src: /opt/zimbra/common/share/webui
dest: /opt/zimbra/data/httpd/htdocs/webui
state: link
- name: Enable PolicyD Web Interface
lineinfile:
dest: /opt/zimbra/conf/httpd.conf
regexp: "^ DirectoryIndex index.html index.html.var"
line: " DirectoryIndex index.html index.html.var index.php"
state: present