[dopr] fixed location of pg_hba.conf

This commit is contained in:
Valentin Gologuzov 2015-06-11 14:48:06 +02:00
parent dd3389b842
commit 12bda40c3d
2 changed files with 7 additions and 2 deletions

View file

@ -6,7 +6,12 @@
tasks:
- name: clean out old known_hosts for dopr-dev
# local_action: known_hosts path={{item}} host=dopr-dev.cloud.fedoraproject.org state=absent
local_action: known_hosts path={{item}} host=dopr-dev.cloud.fedoraproject.org state=absent
ignore_errors: True
with_items:
- /root/.ssh/known_hosts
- /etc/ssh/ssh_known_hosts
- name: clean out old known_hosts for dopr-dev ip
local_action: known_hosts path={{item}} host=209.132.184.42 state=absent
ignore_errors: True
with_items:

View file

@ -26,7 +26,7 @@
when: not pgsql_installed.stat.exists
- name: copy pg_hba.conf
copy: src="pg/pg_hba.conf" dest=/var/lib/pgsql/data/pg_hba.conf owner=postgres group=postgres mode=0600
copy: src="pg_hba.conf" dest=/var/lib/pgsql/data/pg_hba.conf owner=postgres group=postgres mode=0600
notify:
- restart postgresql
tags: