mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Minor tweaks to the setup playbook.
This commit is contained in:
parent
52ace2700c
commit
0a364f39d6
@ -19,6 +19,8 @@
|
||||
- name: install packages from yum
|
||||
yum: name=$item state=installed
|
||||
with_items:
|
||||
- gcc
|
||||
- python-pip
|
||||
- postgresql # database client
|
||||
- postgresql-server # database server
|
||||
- python-psycopg2 # database library
|
||||
@ -28,7 +30,7 @@
|
||||
pip: requirements=${working_dir}/requirements.txt
|
||||
|
||||
- name: configure the database authentication more or less open for setup
|
||||
template: src=templates/pg_hba_low.j2 dest=/var/lib/pgsql/data/pg_hba.conf
|
||||
template: src=templates/pg_hba_low.j2 dest=/var/lib/pgsql/data/pg_hba.conf owner=postgres
|
||||
|
||||
- name: restart postgresql
|
||||
service: name=postgresql state=restarted
|
||||
@ -45,7 +47,7 @@
|
||||
postgresql_db: name=acom state=present
|
||||
|
||||
- name: configure the database authentication for runtime mode
|
||||
template: src=templates/pg_hba.j2 dest=/var/lib/pgsql/data/pg_hba.conf
|
||||
template: src=templates/pg_hba.j2 dest=/var/lib/pgsql/data/pg_hba.conf owner=postgres
|
||||
|
||||
- name: restart postgresql
|
||||
service: name=postgresql state=restarted
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user