summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2016-06-01 16:43:47 -0400
committerJason DeTiberus <jdetiber@redhat.com>2016-06-01 16:44:31 -0400
commit5994ed458a90b66f4231d43dcbb4b46b51737e89 (patch)
treea002091cca6f90729d64c62bea553275489376e5 /playbooks/common
parentc4c6685855a9dc6b4c698465b799c72d6a4f13bd (diff)
downloadopenshift-5994ed458a90b66f4231d43dcbb4b46b51737e89.tar.gz
openshift-5994ed458a90b66f4231d43dcbb4b46b51737e89.tar.bz2
openshift-5994ed458a90b66f4231d43dcbb4b46b51737e89.tar.xz
openshift-5994ed458a90b66f4231d43dcbb4b46b51737e89.zip
Fix bin/cluster libvirt related error
Diffstat (limited to 'playbooks/common')
-rw-r--r--playbooks/common/openshift-cluster/update_repos_and_packages.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/playbooks/common/openshift-cluster/update_repos_and_packages.yml b/playbooks/common/openshift-cluster/update_repos_and_packages.yml
index 0a37d4597..e3d16d359 100644
--- a/playbooks/common/openshift-cluster/update_repos_and_packages.yml
+++ b/playbooks/common/openshift-cluster/update_repos_and_packages.yml
@@ -5,6 +5,11 @@
vars:
openshift_deployment_type: "{{ deployment_type }}"
roles:
+ # Explicitly calling openshift_facts because it appears that when
+ # rhel_subscribe is skipped that the openshift_facts dependency for
+ # openshift_repos is also skipped (this is the case at least for Ansible
+ # 2.0.2)
+ - openshift_facts
- role: rhel_subscribe
when: deployment_type in ["enterprise", "atomic-enterprise", "openshift-enterprise"] and
ansible_distribution == "RedHat" and