diff options
author | Andrew Butcher <abutcher@redhat.com> | 2017-09-06 10:21:50 -0400 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2017-10-02 10:05:44 -0400 |
commit | d8d0e6d7de600d6896014fef928da5bf133dc85e (patch) | |
tree | 1b8b802ad1629b5cf23f3e3656d0ee1d7ef76d01 /playbooks/common/openshift-etcd/ca.yml | |
parent | 54ea443f4ad24ad311c0a036cf283f9e39c865ee (diff) | |
download | openshift-d8d0e6d7de600d6896014fef928da5bf133dc85e.tar.gz openshift-d8d0e6d7de600d6896014fef928da5bf133dc85e.tar.bz2 openshift-d8d0e6d7de600d6896014fef928da5bf133dc85e.tar.xz openshift-d8d0e6d7de600d6896014fef928da5bf133dc85e.zip |
Separate certificate playbooks.
Diffstat (limited to 'playbooks/common/openshift-etcd/ca.yml')
-rw-r--r-- | playbooks/common/openshift-etcd/ca.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/playbooks/common/openshift-etcd/ca.yml b/playbooks/common/openshift-etcd/ca.yml new file mode 100644 index 000000000..ac5543be9 --- /dev/null +++ b/playbooks/common/openshift-etcd/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 |