From 79939ca092b9ee0fe31e5964102c60fca73da568 Mon Sep 17 00:00:00 2001 From: Russell Teague Date: Thu, 16 Nov 2017 11:31:29 -0500 Subject: Playbook Consolidation - openshift-etcd --- playbooks/openshift-etcd/private/ca.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 playbooks/openshift-etcd/private/ca.yml (limited to 'playbooks/openshift-etcd/private/ca.yml') diff --git a/playbooks/openshift-etcd/private/ca.yml b/playbooks/openshift-etcd/private/ca.yml new file mode 100644 index 000000000..ac5543be9 --- /dev/null +++ b/playbooks/openshift-etcd/private/ca.yml @@ -0,0 +1,15 @@ +--- +- name: Generate new etcd CA + hosts: oo_first_etcd + roles: + - role: openshift_etcd_facts + tasks: + - include_role: + name: etcd + tasks_from: ca + vars: + etcd_peers: "{{ groups.oo_etcd_to_config | default([], true) }}" + etcd_ca_host: "{{ groups.oo_etcd_to_config.0 }}" + etcd_certificates_etcd_hosts: "{{ groups.oo_etcd_to_config | default([], true) }}" + when: + - etcd_ca_setup | default(True) | bool -- cgit v1.2.3