diff options
author | Jan Chaloupka <jchaloup@redhat.com> | 2017-10-05 16:17:35 +0200 |
---|---|---|
committer | Jan Chaloupka <jchaloup@redhat.com> | 2017-10-06 16:45:23 +0200 |
commit | 43b7dcd79df91114d6b7cd9c9bf09a4254746f73 (patch) | |
tree | f4dae4805b47dd4cc45e98ed9bce172cae7c9927 /playbooks/common/openshift-etcd/certificates.yml | |
parent | a25709a6f16913b59ef2edc3e07d8bc8a598f41e (diff) | |
download | openshift-43b7dcd79df91114d6b7cd9c9bf09a4254746f73.tar.gz openshift-43b7dcd79df91114d6b7cd9c9bf09a4254746f73.tar.bz2 openshift-43b7dcd79df91114d6b7cd9c9bf09a4254746f73.tar.xz openshift-43b7dcd79df91114d6b7cd9c9bf09a4254746f73.zip |
migrate embedded etcd to external etcd
Diffstat (limited to 'playbooks/common/openshift-etcd/certificates.yml')
-rw-r--r-- | playbooks/common/openshift-etcd/certificates.yml | 29 |
1 files changed, 2 insertions, 27 deletions
diff --git a/playbooks/common/openshift-etcd/certificates.yml b/playbooks/common/openshift-etcd/certificates.yml index 31a0f50d8..eb6b94f33 100644 --- a/playbooks/common/openshift-etcd/certificates.yml +++ b/playbooks/common/openshift-etcd/certificates.yml @@ -1,29 +1,4 @@ --- -- name: Create etcd server certificates for etcd hosts - hosts: oo_etcd_to_config - any_errors_fatal: true - roles: - - role: openshift_etcd_facts - post_tasks: - - include_role: - name: etcd - tasks_from: server_certificates - vars: - etcd_ca_host: "{{ groups.oo_etcd_to_config.0 }}" - etcd_peers: "{{ groups.oo_etcd_to_config | default([], true) }}" - etcd_certificates_etcd_hosts: "{{ groups.oo_etcd_to_config | default([], true) }}" - r_etcd_common_etcd_runtime: "{{ openshift.common.etcd_runtime }}" +- include: server_certificates.yml -- name: Create etcd client certificates for master hosts - hosts: oo_masters_to_config - any_errors_fatal: true - roles: - - role: openshift_etcd_facts - - role: openshift_etcd_client_certificates - etcd_ca_host: "{{ groups.oo_etcd_to_config.0 }}" - etcd_cert_subdir: "openshift-master-{{ openshift.common.hostname }}" - etcd_cert_config_dir: "{{ openshift.common.config_base }}/master" - etcd_cert_prefix: "master.etcd-" - openshift_ca_host: "{{ groups.oo_first_master.0 }}" - r_etcd_common_etcd_runtime: "{{ openshift.common.etcd_runtime }}" - when: groups.oo_etcd_to_config is defined and groups.oo_etcd_to_config +- include: master_etcd_certificates.yml |