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
service: name=zimbra state=restarted
command: zmcontrol restart
- name: restart rsyslog
service: name=rsyslog state=restarted

@ -7,13 +7,16 @@
#- set_fact: zcs_domains={{ zcs_domains_conf | default([]) }}
# 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
yum:
name:
- tar
- MySQL-python
- perl-JSON
- patch
package: name={{ zcs_packages }}
tags: zcs
- 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