Try updating syntax here.

This commit is contained in:
Kevin Fenzi 2013-09-25 20:25:26 +00:00
parent 7e60bb96b0
commit 6b9c8d954a

View file

@ -5,7 +5,7 @@
with_items:
- epel6.repo
- rhel6.repo
only_if: '$is_rhel'
when: is_rhel == 'True'
tags:
- config
- packages
@ -16,7 +16,7 @@
- fedora.repo
- fedora-updates.repo
- fedora-updates-testing.repo
only_if: "$is_fedora and '${ansible_architecture}'.startswith('x86_64')"
when: is_fedora and {{ ansible_architecture }}.startswith('x86_64')
tags:
- config
- packages
@ -27,7 +27,7 @@
- fedora.repo
- fedora-updates.repo
- fedora-updates-testing.repo
only_if: "$is_fedora and '${ansible_architecture}'.startswith('armv7l')"
when: is_fedora and {{ ansible_architecture }}.startswith('armv7l')
tags:
- config
- packages