Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks committed Dec 23, 2024
1 parent decadb7 commit f143688
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions automation/roles/etcd/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@
/usr/local/bin/etcdctl endpoint health
--endpoints={{ patroni_etcd_protocol }}://{{ inventory_hostname }}:2379
{% if tls_cert_generate | bool %}
--cacert=/etc/etcd/ca.crt
--cert=/etc/etcd/server.crt
--key=/etc/etcd/server.key
--cacert={{ tls_etcd_ca_cert_path | default('/etc/etcd/ca.crt') }}
--cert={{ tls_etcd_cert_path | default('/etc/etcd/server.crt') }}
--key={{ tls_etcd_privatekey_path | default('/etc/etcd/server.key') }}
{% endif %}
environment:
ETCDCTL_API: "3"
Expand Down

0 comments on commit f143688

Please sign in to comment.