Skip to content

Commit

Permalink
Update etcd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks committed Dec 23, 2024
1 parent f13c39a commit decadb7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions automation/molecule/tests/etcd/etcd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
method: GET
return_content: true
validate_certs: "{{ tls_cert_generate | bool }}"
ca_path: "{{ tls_etcd_ca_cert_path | default(omit) }}"
client_cert: "{{ tls_etcd_cert_path | default(omit) }}"
client_key: "{{ tls_etcd_privatekey_path | default(omit) }}"
ca_path: "{{ tls_etcd_ca_cert_path if tls_cert_generate | bool else omit }}"
client_cert: "{{ tls_etcd_cert_path if tls_cert_generate | bool else omit }}"
client_key: "{{ tls_etcd_privatekey_path if tls_cert_generate | bool else omit }}"
register: etcd_health_status
failed_when: "(etcd_health_status.content | from_json).health != 'true'"
when: dcs_type == "etcd"

0 comments on commit decadb7

Please sign in to comment.