Make postgresql listen to something else than localhost

This commit is contained in:
Pierre-Yves Chibon 2014-10-01 14:57:05 +02:00
parent 4ec83d46a2
commit c8646b0591

View file

@ -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