Bugfix - playbook trying to execute RedHat code

This commit is contained in:
lucascbeyeler 2017-07-09 17:37:12 -03:00
parent 72057a6504
commit caaf3aa210
1 changed files with 2 additions and 0 deletions

View File

@ -11,8 +11,10 @@
yum:
name: "{{ centos }}"
state: present
when: ansible_os_family == "RedHat"
- name: Ensure Pyzor and Razor is installed (Ubuntu)
apt:
name: "{{ ubuntu }}"
state: present
when: ansible_os_family == "Debian"