mirror of
https://github.com/lucascbeyeler/zimbra
synced 2026-09-29 19:31:08 +02:00
Resolving issue #2, updating documentation, and made the reboot task work again
This commit is contained in:
+9
-1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user