[dopr] fixed location of pg_hba.conf
This commit is contained in:
parent
dd3389b842
commit
12bda40c3d
2 changed files with 7 additions and 2 deletions
|
@ -6,7 +6,12 @@
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: clean out old known_hosts for dopr-dev
|
- 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
|
local_action: known_hosts path={{item}} host=209.132.184.42 state=absent
|
||||||
ignore_errors: True
|
ignore_errors: True
|
||||||
with_items:
|
with_items:
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
when: not pgsql_installed.stat.exists
|
when: not pgsql_installed.stat.exists
|
||||||
|
|
||||||
- name: copy pg_hba.conf
|
- 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:
|
notify:
|
||||||
- restart postgresql
|
- restart postgresql
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue