summaryrefslogtreecommitdiffstats
path: root/roles/etcd_common/defaults
diff options
context:
space:
mode:
authorBrenton Leanhardt <bleanhar@redhat.com>2015-11-03 08:29:52 -0500
committerBrenton Leanhardt <bleanhar@redhat.com>2015-11-03 08:29:52 -0500
commit94c5c1fe5c280054132077dedcc1d0b96558a91f (patch)
tree4cfbf11355dbf2e2631cfe8b9b20937ba4f445da /roles/etcd_common/defaults
parenta4d5e59c413746cb1715b15a9e158be3f3a94a54 (diff)
parent02a6d993509ac395165c504dba7b92c4f2eb907c (diff)
downloadopenshift-94c5c1fe5c280054132077dedcc1d0b96558a91f.tar.gz
openshift-94c5c1fe5c280054132077dedcc1d0b96558a91f.tar.bz2
openshift-94c5c1fe5c280054132077dedcc1d0b96558a91f.tar.xz
openshift-94c5c1fe5c280054132077dedcc1d0b96558a91f.zip
Merge pull request #702 from detiber/etcd_cert_fix
Fix etcd cert generation when etcd_interface is defined
Diffstat (limited to 'roles/etcd_common/defaults')
-rw-r--r--roles/etcd_common/defaults/main.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/roles/etcd_common/defaults/main.yml b/roles/etcd_common/defaults/main.yml
new file mode 100644
index 000000000..96f4b63af
--- /dev/null
+++ b/roles/etcd_common/defaults/main.yml
@@ -0,0 +1,30 @@
+---
+etcd_peers_group: etcd
+
+# etcd server vars
+etcd_conf_dir: /etc/etcd
+etcd_ca_file: "{{ etcd_conf_dir }}/ca.crt"
+etcd_cert_file: "{{ etcd_conf_dir }}/server.crt"
+etcd_key_file: "{{ etcd_conf_dir }}/server.key"
+etcd_peer_ca_file: "{{ etcd_conf_dir }}/ca.crt"
+etcd_peer_cert_file: "{{ etcd_conf_dir }}/peer.crt"
+etcd_peer_key_file: "{{ etcd_conf_dir }}/peer.key"
+
+# etcd ca vars
+etcd_ca_dir: "{{ etcd_conf_dir}}/ca"
+etcd_generated_certs_dir: "{{ etcd_conf_dir }}/generated_certs"
+etcd_ca_cert: "{{ etcd_ca_dir }}/ca.crt"
+etcd_ca_key: "{{ etcd_ca_dir }}/ca.key"
+etcd_openssl_conf: "{{ etcd_ca_dir }}/openssl.cnf"
+etcd_ca_name: etcd_ca
+etcd_req_ext: etcd_v3_req
+etcd_ca_exts_peer: etcd_v3_ca_peer
+etcd_ca_exts_server: etcd_v3_ca_server
+etcd_ca_exts_self: etcd_v3_ca_self
+etcd_ca_exts_client: etcd_v3_ca_client
+etcd_ca_crl_dir: "{{ etcd_ca_dir }}/crl"
+etcd_ca_new_certs_dir: "{{ etcd_ca_dir }}/certs"
+etcd_ca_db: "{{ etcd_ca_dir }}/index.txt"
+etcd_ca_serial: "{{ etcd_ca_dir }}/serial"
+etcd_ca_crl_number: "{{ etcd_ca_dir }}/crlnumber"
+etcd_ca_default_days: 365