Update this to use 'is defined'
This commit is contained in:
parent
8426c1d603
commit
f927b0d907
|
@ -18,7 +18,7 @@
|
|||
|
||||
- name: install nss_db on rhel hosts only
|
||||
yum: state=installed name=nss_db
|
||||
when: is_rhel == 'True'
|
||||
when: is_rhel is defined
|
||||
tags:
|
||||
- packages
|
||||
|
||||
|
|
|
@ -166,7 +166,7 @@
|
|||
yum: state=installed pkg={{ item }}
|
||||
with_items:
|
||||
- kmod-hfsplus
|
||||
when: is_rhel == 'True'
|
||||
when: is_rhel is defined
|
||||
|
||||
- name: enable services and start them on Fedora systems
|
||||
service: name={{ item }} enabled=true state=started
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
- name: add infra repo
|
||||
action: get_url url=http://infrastructure.fedoraproject.org/el/infrastructure.repo dest=/etc/yum.repos.d/
|
||||
when: is_rhel == 'True'
|
||||
when: is_rhel is defined
|
||||
tags:
|
||||
- config
|
||||
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
- name: upstart serial setup
|
||||
action: copy src="{{ files }}/common/ttyS0.conf" dest=/etc/init/ttyS0.conf
|
||||
when: is_rhel == 'True'
|
||||
when: is_rhel is defined
|
||||
tags:
|
||||
- configs
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
action: copy src="{{ files }}/sign/{{ item }}" dest="/etc/yum.repos.d/{{ item }}"
|
||||
with_items:
|
||||
- builder-rpms.repo
|
||||
when: is_rhel == 'True'
|
||||
when: is_rhel is defined
|
||||
tags:
|
||||
- config
|
||||
- packages
|
||||
|
|
Loading…
Reference in New Issue