mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-24 02:20:51 +08:00
Make postgresql listen to something else than localhost
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user