forked from ISTI-ansible-roles/ansible-roles
library/roles/postgresql/templates/pgpool.conf.j2: Fix the recovery password settings
This commit is contained in:
parent
64f27c2b98
commit
17c3d09e4e
|
@ -421,10 +421,10 @@ search_primary_node_timeout = 10
|
|||
recovery_user = '{{ pgpool_recovery_user }}'
|
||||
# Online recovery user
|
||||
{% if pgpool_recovery_user_pwd is defined %}
|
||||
recovery_password = '{{ pgpool_recovery_user_pwd | default([]) }}'
|
||||
recovery_password = '{{ pgpool_recovery_user_pwd | default() }}'
|
||||
# Online recovery password
|
||||
{% else %}
|
||||
recovery_password = '{{ pgpool_recovery_user_pwd | default([]) }}'
|
||||
recovery_password = ''
|
||||
{% endif %}
|
||||
recovery_1st_stage_command = '{{ pgpool_recovery_stage1_script }}'
|
||||
# Executes a command in first stage
|
||||
|
|
Loading…
Reference in New Issue