change this conditional to "when" syntax

This commit is contained in:
Ricky Elrod 2013-09-26 17:56:22 +00:00
parent 6309daa7f5
commit 442bef15b3

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/
only_if: '$is_rhel'
when: is_rhel == 'True'
tags:
- config