Make postgresql listen to something else than localhost
This commit is contained in:
parent
4ec83d46a2
commit
c8646b0591
1 changed files with 7 additions and 0 deletions
|
@ -58,6 +58,13 @@
|
|||
- config
|
||||
- postgresql
|
||||
|
||||
- name: Let postgresql listen to '*'
|
||||
command: sed -i -e "s|#listen_addresses = 'localhost'|listen_addresses = '*'|" /var/lib/pgsql/data/postgresql.conf
|
||||
notify:
|
||||
- restart postgresql
|
||||
tags:
|
||||
- anitya_backend
|
||||
|
||||
- name: Set up some cronjobs to backup databases as configured
|
||||
template: >
|
||||
src=cron-backup-database
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue