File tree 4 files changed +5
-1
lines changed
4 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -858,3 +858,5 @@ postgresql_dnf_repository_gpgkey: "{{ postgresql_yum_repository_gpgkey }}"
858
858
postgresql_apt_py3_dependencies : ["python3-psycopg2", "locales"]
859
859
postgresql_apt_py2_dependencies : ["python-psycopg2", "python-pycurl", "locales"]
860
860
postgresql_apt_dependencies : " {{ postgresql_apt_py3_dependencies if 'python3' in ansible_python_interpreter|default('') else postgresql_apt_py2_dependencies }}"
861
+
862
+ postgresql_hide_passwords : false
Original file line number Diff line number Diff line change 142
142
owner : " {{ postgresql_service_user }}"
143
143
group : " {{ postgresql_service_group }}"
144
144
mode : 0640
145
+ no_log : " {{ postgresql_hide_passwords }}"
145
146
register : postgresql_configuration_pt1
146
147
147
148
- name : PostgreSQL | Update configuration - pt. 2 (postgresql.conf)
Original file line number Diff line number Diff line change 12
12
state : " {{ item.state | default('present') }}"
13
13
become : yes
14
14
become_user : " {{ postgresql_admin_user }}"
15
+ no_log : " {{ postgresql_hide_passwords }}"
15
16
with_items : " {{ postgresql_database_schemas }}"
16
17
when : postgresql_databases|length > 0
Original file line number Diff line number Diff line change 13
13
port : " {{postgresql_port}}"
14
14
state : " {{ item.state | default('present') }}"
15
15
login_user : " {{postgresql_admin_user}}"
16
- no_log : true
16
+ no_log : " {{ postgresql_hide_passwords }} "
17
17
become : yes
18
18
become_user : " {{postgresql_admin_user}}"
19
19
with_items : " {{postgresql_users}}"
You can’t perform that action at this time.
0 commit comments