diff options
author | Scott Dodson <sdodson@redhat.com> | 2015-06-12 14:52:03 -0400 |
---|---|---|
committer | Jason DeTiberus <jdetiber@redhat.com> | 2015-07-10 14:06:17 -0400 |
commit | e7082b9870bdf4cc0769645f4fae3bccc3efdee4 (patch) | |
tree | 7ba68c85c943dc50ac6102d5dbd91d3537388cd1 /playbooks/byo/openshift-etcd | |
parent | f08e64ac98a62863dfd7b7802338a0a7f4770188 (diff) | |
download | openshift-e7082b9870bdf4cc0769645f4fae3bccc3efdee4.tar.gz openshift-e7082b9870bdf4cc0769645f4fae3bccc3efdee4.tar.bz2 openshift-e7082b9870bdf4cc0769645f4fae3bccc3efdee4.tar.xz openshift-e7082b9870bdf4cc0769645f4fae3bccc3efdee4.zip |
Add etcd role that builds out basic etcd cluster
- Add initial etcd role
- Add etcd playbook to create etcd client certs
- Hookup master to etcd
Diffstat (limited to 'playbooks/byo/openshift-etcd')
-rw-r--r-- | playbooks/byo/openshift-etcd/config.yml | 20 | ||||
l--------- | playbooks/byo/openshift-etcd/filter_plugins | 1 | ||||
l--------- | playbooks/byo/openshift-etcd/roles | 1 |
3 files changed, 22 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 }}" diff --git a/playbooks/byo/openshift-etcd/filter_plugins b/playbooks/byo/openshift-etcd/filter_plugins new file mode 120000 index 000000000..99a95e4ca --- /dev/null +++ b/playbooks/byo/openshift-etcd/filter_plugins @@ -0,0 +1 @@ +../../../filter_plugins
\ No newline at end of file diff --git a/playbooks/byo/openshift-etcd/roles b/playbooks/byo/openshift-etcd/roles new file mode 120000 index 000000000..20c4c58cf --- /dev/null +++ b/playbooks/byo/openshift-etcd/roles @@ -0,0 +1 @@ +../../../roles
\ No newline at end of file |