Update to 2021-09-24 11:00

master
Daniel Berteaud 3 years ago
parent 6f9b5625a7
commit 45356d6a2b
  1. 2
      roles/zimbra/handlers/main.yml
  2. 15
      roles/zimbra/tasks/main.yml
  3. 7
      roles/zimbra/vars/RedHat-7.yml
  4. 7
      roles/zimbra/vars/RedHat-8.yml

@ -1,7 +1,7 @@
--- ---
- name: restart zimbra - name: restart zimbra
service: name=zimbra state=restarted command: zmcontrol restart
- name: restart rsyslog - name: restart rsyslog
service: name=rsyslog state=restarted service: name=rsyslog state=restarted

@ -7,13 +7,16 @@
#- set_fact: zcs_domains={{ zcs_domains_conf | default([]) }} #- set_fact: zcs_domains={{ zcs_domains_conf | default([]) }}
# tags: zcs # tags: zcs
- include_vars: "{{ item }}"
with_first_found:
- vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- vars/{{ ansible_distribution }}.yml
- vars/{{ ansible_os_family }}.yml
tags: zcs
- name: Install dependencies - name: Install dependencies
yum: package: name={{ zcs_packages }}
name:
- tar
- MySQL-python
- perl-JSON
- patch
tags: zcs tags: zcs
- name: Check if zimbra is installed - name: Check if zimbra is installed

@ -0,0 +1,7 @@
---
zcs_packages:
- tar
- MySQL-python
- perl-JSON
- patch

@ -0,0 +1,7 @@
---
zcs_packages:
- tar
- python3-mysql
- perl-JSON
- patch
Loading…
Cancel
Save