summaryrefslogtreecommitdiffstats
path: root/roles/subscription-manager/tasks/main.yml
diff options
context:
space:
mode:
authorØystein Bedin <bedin@redhat.com>2016-11-15 22:26:58 -0500
committerØystein Bedin <bedin@redhat.com>2016-11-15 22:26:58 -0500
commitfbda334b6797eb0109cd9c13afb99a47e3916b36 (patch)
treea16a5d1fafa2547bf7564f34d6f936d6f35cb293 /roles/subscription-manager/tasks/main.yml
parent60cbc90bbf33f6c963dabba00c898e3a8565b621 (diff)
downloadopenshift-fbda334b6797eb0109cd9c13afb99a47e3916b36.tar.gz
openshift-fbda334b6797eb0109cd9c13afb99a47e3916b36.tar.bz2
openshift-fbda334b6797eb0109cd9c13afb99a47e3916b36.tar.xz
openshift-fbda334b6797eb0109cd9c13afb99a47e3916b36.zip
Fixing ansible impl to work with OSP9 and ansible 2.2
Diffstat (limited to 'roles/subscription-manager/tasks/main.yml')
-rw-r--r--roles/subscription-manager/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/subscription-manager/tasks/main.yml b/roles/subscription-manager/tasks/main.yml
index 0b3aa351f..2dd14b48e 100644
--- a/roles/subscription-manager/tasks/main.yml
+++ b/roles/subscription-manager/tasks/main.yml
@@ -114,7 +114,7 @@
- name: "Enable specified repositories"
command: "/usr/bin/subscription-manager repos --enable={{ item }}"
- with_items: rhsm_repos
+ with_items: "{{ rhsm_repos }}"
when:
- not registered
- rhsm_repos is defined