summaryrefslogtreecommitdiffstats
path: root/playbooks/openstack/openshift-cluster/config.yml
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2016-04-29 17:23:24 -0400
committerJason DeTiberus <jdetiber@redhat.com>2016-05-05 21:23:19 -0400
commit3b0ef37a385f1a8510d1b2bc2b024ee8ea0f510e (patch)
treeba61265bf615b50e68a769a114675b0a724ffc72 /playbooks/openstack/openshift-cluster/config.yml
parent7669dc981239c8401ef4971856f00c329c09fe6c (diff)
downloadopenshift-3b0ef37a385f1a8510d1b2bc2b024ee8ea0f510e.tar.gz
openshift-3b0ef37a385f1a8510d1b2bc2b024ee8ea0f510e.tar.bz2
openshift-3b0ef37a385f1a8510d1b2bc2b024ee8ea0f510e.tar.xz
openshift-3b0ef37a385f1a8510d1b2bc2b024ee8ea0f510e.zip
openstack_fixes
- move openstack user-data content into heat template
Diffstat (limited to 'playbooks/openstack/openshift-cluster/config.yml')
-rw-r--r--playbooks/openstack/openshift-cluster/config.yml19
1 files changed, 16 insertions, 3 deletions
diff --git a/playbooks/openstack/openshift-cluster/config.yml b/playbooks/openstack/openshift-cluster/config.yml
index 9c0ca9af9..304a6557d 100644
--- a/playbooks/openstack/openshift-cluster/config.yml
+++ b/playbooks/openstack/openshift-cluster/config.yml
@@ -1,8 +1,21 @@
---
+- hosts: localhost
+ gather_facts: no
+ tasks:
+ - include_vars: vars.yml
+ - include_vars: 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: vars.yml
+ - include_vars: cluster_hosts.yml
+
- include: ../../common/openshift-cluster/config.yml
- vars_files:
- - ../../openstack/openshift-cluster/vars.yml
- - ../../openstack/openshift-cluster/cluster_hosts.yml
vars:
g_nodeonmaster: true
g_ssh_user: "{{ deployment_vars[deployment_type].ssh_user }}"