summaryrefslogtreecommitdiffstats
path: root/playbooks/byo
diff options
context:
space:
mode:
authorJason DeTiberus <detiber@gmail.com>2016-05-18 12:28:01 -0400
committerJason DeTiberus <detiber@gmail.com>2016-05-18 12:28:01 -0400
commitcdf802ec89c46400896d94a7a1f426655b5a21db (patch)
treed44aec4468940f88fbdbe8d0d6894f365cad7980 /playbooks/byo
parent1826e93bcf2ba21f0c1c7368dffd091a8bfbf142 (diff)
parent0118ca424ea4f23765c01d982b0e810b82fd8860 (diff)
downloadopenshift-cdf802ec89c46400896d94a7a1f426655b5a21db.tar.gz
openshift-cdf802ec89c46400896d94a7a1f426655b5a21db.tar.bz2
openshift-cdf802ec89c46400896d94a7a1f426655b5a21db.tar.xz
openshift-cdf802ec89c46400896d94a7a1f426655b5a21db.zip
Merge pull request #1900 from sdodson/fix-rhel_subscribe
Fix rhel_subscribe
Diffstat (limited to 'playbooks/byo')
-rw-r--r--playbooks/byo/rhel_subscribe.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/playbooks/byo/rhel_subscribe.yml b/playbooks/byo/rhel_subscribe.yml
index 990ddd2f2..a21aa257f 100644
--- a/playbooks/byo/rhel_subscribe.yml
+++ b/playbooks/byo/rhel_subscribe.yml
@@ -1,4 +1,22 @@
---
+- hosts: localhost
+ connection: local
+ become: no
+ gather_facts: no
+ tasks:
+ - include_vars: openshift-cluster/cluster_hosts.yml
+ - add_host:
+ name: "{{ item }}"
+ groups: l_oo_all_hosts
+ with_items: g_all_hosts
+
+- hosts: l_oo_all_hosts
+ gather_facts: no
+ tasks:
+ - include_vars: openshift-cluster/cluster_hosts.yml
+
+- include: ../common/openshift-cluster/evaluate_groups.yml
+
- hosts: all
vars:
openshift_deployment_type: "{{ deployment_type }}"