summaryrefslogtreecommitdiffstats
path: root/playbooks/byo
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-05-16 16:53:28 -0400
committerScott Dodson <sdodson@redhat.com>2016-05-17 17:12:34 -0400
commitd6e301e776ce631e13d8148041ecd86d23c543fb (patch)
tree408683b411f98bbc47c5855ac46879dad5e298e3 /playbooks/byo
parent6a16a03ec080dd0095399d9522be5c2607b2f88f (diff)
downloadopenshift-d6e301e776ce631e13d8148041ecd86d23c543fb.tar.gz
openshift-d6e301e776ce631e13d8148041ecd86d23c543fb.tar.bz2
openshift-d6e301e776ce631e13d8148041ecd86d23c543fb.tar.xz
openshift-d6e301e776ce631e13d8148041ecd86d23c543fb.zip
Fix for ansible v2
Diffstat (limited to 'playbooks/byo')
-rw-r--r--playbooks/byo/rhel_subscribe.yml20
1 files changed, 17 insertions, 3 deletions
diff --git a/playbooks/byo/rhel_subscribe.yml b/playbooks/byo/rhel_subscribe.yml
index 5702e960e..a21aa257f 100644
--- a/playbooks/byo/rhel_subscribe.yml
+++ b/playbooks/byo/rhel_subscribe.yml
@@ -1,7 +1,21 @@
---
-- include: ../common/openshift-cluster/evaluate_groups.yml
- vars_files:
- - ../../byo/openshift-cluster/cluster_hosts.yml
+- 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: