mirror of https://github.com/lucascbeyeler/zimbra
Bugfix - playbook trying to execute RedHat code
This commit is contained in:
parent
72057a6504
commit
caaf3aa210
|
|
@ -11,8 +11,10 @@
|
||||||
yum:
|
yum:
|
||||||
name: "{{ centos }}"
|
name: "{{ centos }}"
|
||||||
state: present
|
state: present
|
||||||
|
when: ansible_os_family == "RedHat"
|
||||||
|
|
||||||
- name: Ensure Pyzor and Razor is installed (Ubuntu)
|
- name: Ensure Pyzor and Razor is installed (Ubuntu)
|
||||||
apt:
|
apt:
|
||||||
name: "{{ ubuntu }}"
|
name: "{{ ubuntu }}"
|
||||||
state: present
|
state: present
|
||||||
|
when: ansible_os_family == "Debian"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue