Browse Source

Fixing ansible impl to work with OSP9 and ansible 2.2

Øystein Bedin 8 years ago
parent
commit
fbda334b67
1 changed files with 1 additions and 1 deletions
  1. 1 1
      roles/subscription-manager/tasks/main.yml

+ 1 - 1
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