summaryrefslogtreecommitdiffstats
path: root/playbooks/openstack/openshift-cluster/update.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/update.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/update.yml')
-rw-r--r--playbooks/openstack/openshift-cluster/update.yml19
1 files changed, 16 insertions, 3 deletions
diff --git a/playbooks/openstack/openshift-cluster/update.yml b/playbooks/openstack/openshift-cluster/update.yml
index 539af6524..6f1e7fcc5 100644
--- a/playbooks/openstack/openshift-cluster/update.yml
+++ b/playbooks/openstack/openshift-cluster/update.yml
@@ -1,4 +1,20 @@
---
+- 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: dns.yml
- name: Populate oo_hosts_to_update group
@@ -6,9 +22,6 @@
connection: local
become: no
gather_facts: no
- vars_files:
- - vars.yml
- - cluster_hosts.yml
tasks:
- name: Evaluate oo_hosts_to_update
add_host: