diff options
author | Scott Dodson <sdodson@redhat.com> | 2016-05-16 16:53:28 -0400 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2016-05-17 17:12:34 -0400 |
commit | d6e301e776ce631e13d8148041ecd86d23c543fb (patch) | |
tree | 408683b411f98bbc47c5855ac46879dad5e298e3 /playbooks | |
parent | 6a16a03ec080dd0095399d9522be5c2607b2f88f (diff) | |
download | openshift-d6e301e776ce631e13d8148041ecd86d23c543fb.tar.gz openshift-d6e301e776ce631e13d8148041ecd86d23c543fb.tar.bz2 openshift-d6e301e776ce631e13d8148041ecd86d23c543fb.tar.xz openshift-d6e301e776ce631e13d8148041ecd86d23c543fb.zip |
Fix for ansible v2
Diffstat (limited to 'playbooks')
-rw-r--r-- | playbooks/byo/rhel_subscribe.yml | 20 |
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: |