From 0a3cf1a08775d89efa168ce300e115dc486d72f2 Mon Sep 17 00:00:00 2001 From: Qasim Sarfraz Date: Thu, 28 Mar 2019 07:18:43 +0000 Subject: [PATCH] Fix CA cert environment variable for ectd v3 (#4381) --- roles/etcd/handlers/backup.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/etcd/handlers/backup.yml b/roles/etcd/handlers/backup.yml index 407c70a3d..7124bd56b 100644 --- a/roles/etcd/handlers/backup.yml +++ b/roles/etcd/handlers/backup.yml @@ -52,7 +52,7 @@ ETCDCTL_API: 3 ETCDCTL_CERT: "{{ etcd_cert_dir }}/admin-{{ inventory_hostname }}.pem" ETCDCTL_KEY: "{{ etcd_cert_dir }}/admin-{{ inventory_hostname }}-key.pem" - ETCDCTL_CA_FILE: "{{ etcd_cert_dir }}/ca.pem" + ETCDCTL_CACERT: "{{ etcd_cert_dir }}/ca.pem" retries: 3 register: etcd_backup_v3_command until: etcd_backup_v3_command.rc == 0