浏览代码

Fix bin/cluster openstack related error

Lénaïc Huard 8 年之前
父节点
当前提交
335840bbe8
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      playbooks/openstack/openshift-cluster/dns.yml

+ 5 - 0
playbooks/openstack/openshift-cluster/dns.yml

@@ -35,6 +35,11 @@
   - vars.yml
   - cluster_hosts.yml
   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