From 48e5075d85665c840fd694568c51532a0c33c777 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 25 Sep 2013 20:51:42 +0000 Subject: [PATCH] Try this --- tasks/yumrepos.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tasks/yumrepos.yml b/tasks/yumrepos.yml index dd453baebb..9559dbf721 100644 --- a/tasks/yumrepos.yml +++ b/tasks/yumrepos.yml @@ -1,5 +1,4 @@ --- - - name: put rhel repos on system action: copy src=$files/common/$item dest=/etc/yum.repos.d/$item with_items: @@ -16,7 +15,7 @@ - fedora.repo - fedora-updates.repo - fedora-updates-testing.repo - when: is_fedora == 'True' and ansible_architecture is 'x86_64' + when: is_fedora == 'True' and ansible_architecture == 'x86_64' tags: - config - packages @@ -27,7 +26,7 @@ - fedora.repo - fedora-updates.repo - fedora-updates-testing.repo - when: is_fedora == 'True' and ansible_architecture is armv7l + when: is_fedora == 'True' and ansible_architecture == 'armv7l' tags: - config - packages