Skip to content

Commit 0456929

Browse files
committed
use the right ca_cert variable for postgresql_ping
1 parent 8a6cf5e commit 0456929

File tree

1 file changed

+1
-1
lines changed
  • src/roles/check_database_connection/tasks

1 file changed

+1
-1
lines changed

src/roles/check_database_connection/tasks/check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
login_user: "{{ db_item.user }}"
55
login_password: "{{ db_item.password }}"
66
login_db: "{{ db_item.dbname }}"
7-
ca_cert: "{{ db_item.ca | default(omit) }}"
7+
ca_cert: "{{ db_item.ca_cert | default(omit) }}"
88
ssl_mode: "{{ db_item.sslmode | default(omit) }}"
99
register: check_database_connection_ping_result
1010
ignore_errors: true

0 commit comments

Comments
 (0)