File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 3030 images : true
3131 builder_cache : true
3232 listen : " prune docker"
33+
34+ - name : " restarting postgres"
35+ ansible.builtin.systemd_service :
36+ name : " postgresql"
37+ state : " restarted"
38+ listen : " restart postgres"
Original file line number Diff line number Diff line change 3333 backup_file : " {{ postgres.pg_hba_path }}.old"
3434
3535 # TYPE DATABASE USER ADDR METHOD
36- # local committeeclash committeeclash peer, scram-sha-256
36+ # local committeeclash committeeclash scram-sha-256
3737 contype : ' local'
3838 databases : ' committeeclash'
3939 users : ' committeeclash'
4040 method : ' scram-sha-256'
41+ notify : " restart postgres" # Apply changes
4142
4243- name : " set up committeeclash"
4344 become_user : " committeeclash"
Original file line number Diff line number Diff line change 1616 - " postgresql-13"
1717 - " python3-psycopg2"
1818
19-
2019- name : " Explicitly specify peer auth as default over local communication"
2120 become_user : " postgres"
2221 become : true
3130 databases : ' all'
3231 users : ' all'
3332 method : ' peer'
33+ notify : " restart postgres" # Apply changes
3434
3535
3636- name : " set up koala databases"
You can’t perform that action at this time.
0 commit comments