File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
automation/roles/deploy_finish/tasks Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 88 run_once : true
99 become : true
1010 become_user : postgres
11- ansible.builtin.command : " {{ postgresql_bin_dir }}/psql -p {{ postgresql_port }} -U {{ patroni_superuser_username }} -d postgres -Xc '\\ du'"
11+ ansible.builtin.command : " {{ postgresql_bin_dir }}/psql postgresql:// {{ patroni_superuser_username }}: {{ patroni_superuser_password }}@127.0.0.1:{{ postgresql_port }}/ postgres -Xc '\\ du'"
1212 register : users_result
1313 delegate_to : " {{ groups.master[0] }}"
1414 changed_when : false
1919 run_once : true
2020 become : true
2121 become_user : postgres
22- ansible.builtin.command : " {{ postgresql_bin_dir }}/psql -p {{ postgresql_port }} -U {{ patroni_superuser_username }} -d postgres -Xc '\\ l'"
22+ ansible.builtin.command : " {{ postgresql_bin_dir }}/psql postgresql:// {{ patroni_superuser_username }}: {{ patroni_superuser_password }}@127.0.0.1:{{ postgresql_port }}/ postgres -Xc '\\ l'"
2323 register : dbs_result
2424 delegate_to : " {{ groups.master[0] }}"
2525 changed_when : false
You can’t perform that action at this time.
0 commit comments