blob: 381f139dec267279270c4c79443e65fc75b36085 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 }}"
|