Update this to use 'is defined'

This commit is contained in:
Kevin Fenzi 2014-03-04 18:47:58 +00:00
parent 8426c1d603
commit f927b0d907
5 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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

View file

@ -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