summaryrefslogtreecommitdiffstats
path: root/playbooks/openstack/openshift-cluster
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/openstack/openshift-cluster')
-rw-r--r--playbooks/openstack/openshift-cluster/provision.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/playbooks/openstack/openshift-cluster/provision.yml b/playbooks/openstack/openshift-cluster/provision.yml
index 36d8c8215..1d2680252 100644
--- a/playbooks/openstack/openshift-cluster/provision.yml
+++ b/playbooks/openstack/openshift-cluster/provision.yml
@@ -26,6 +26,9 @@
- name: Gather facts for the new nodes
setup:
+- name: set common facts
+ include: ../../init/facts.yml
+
# NOTE(shadower): the (internal) DNS must be functional at this point!!
# That will have happened in provision.yml if nsupdate was configured.
@@ -47,6 +50,13 @@
hosts: oo_all_hosts
become: yes
gather_facts: yes
+ roles:
+ - role: rhel_subscribe
+ when:
+ - ansible_distribution == "RedHat"
+ - lookup('env', 'rhel_subscription_user') | default(rhsub_user | default(False, True), True)
+ - lookup('env', 'rhel_subscription_pass') | default(rhsub_pass | default(False, True), True)
+
tasks:
- name: Install dependencies
include_role: