Move postgresql stuff around.

This commit is contained in:
Kevin Fenzi 2013-09-12 22:56:34 +00:00
parent 51746b66d0
commit 3dae75234b
4 changed files with 21 additions and 8 deletions

View file

@ -19,6 +19,13 @@
tags:
- service
- name: setup postgresql koji config file
template: src=pg_hba.conf.j2 dest=/var/lib/pgsql/data/pg_hba.conf mode=600 backup=yes
notify:
- restart postgresql
tags:
- config
- name: Set postgresql-server to run on boot
service: name=postgresql enabled=yes
ignore_errors: true

View file

@ -0,0 +1,4 @@
local all all ident
host koji koji {{ ansible_eth0["ipv4"]["address"] }} 255.255.255.255 md5
host all all 0.0.0.0 0.0.0.0 md5
host all all ::1/128 md5