summaryrefslogtreecommitdiffstats
path: root/playbooks/byo/openshift-etcd/config.yml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/byo/openshift-etcd/config.yml')
-rw-r--r--playbooks/byo/openshift-etcd/config.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/playbooks/byo/openshift-etcd/config.yml b/playbooks/byo/openshift-etcd/config.yml
new file mode 100644
index 000000000..381f139de
--- /dev/null
+++ b/playbooks/byo/openshift-etcd/config.yml
@@ -0,0 +1,20 @@
+---
+- name: Populate oo_etcd_hosts_to_config and oo_first_master host groups
+ hosts: localhost
+ gather_facts: no
+ tasks:
+ - name: Evaluate oo_etcd_hosts_to_config
+ add_host:
+ name: "{{ item }}"
+ groups: oo_etcd_hosts_to_config
+ with_items: groups.etcd
+ - name: Evaluate oo_first_master
+ add_host:
+ name: "{{ item }}"
+ groups: oo_first_master
+ with_items: groups.masters.0
+
+
+- include: ../../common/openshift-etcd/config.yml
+ vars:
+ openshift_first_master: "{{ groups.masters.0 }}"