diff --git a/tasks/yumrepos.yml b/tasks/yumrepos.yml index ecbb41d0f5..e98f14cfd4 100644 --- a/tasks/yumrepos.yml +++ b/tasks/yumrepos.yml @@ -16,7 +16,7 @@ - fedora.repo - fedora-updates.repo - fedora-updates-testing.repo - when: is_fedora and ansible_architecture is x86_64 + when: is_fedora == 'True' and ansible_architecture is x86_64 tags: - config - packages @@ -27,7 +27,7 @@ - fedora.repo - fedora-updates.repo - fedora-updates-testing.repo - when: is_fedora and {{ ansible_architecture }}.startswith('armv7l') + when: is_fedora == 'True' and ansible_architecture is armv7l tags: - config - packages