mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
Change SQL backend in settings template, tweak playbook
This commit is contained in:
parent
b97193e6a0
commit
6c8b4de4c1
@ -13,14 +13,14 @@
|
||||
|
||||
tasks:
|
||||
|
||||
- name: install packages
|
||||
- name: install database packages from yum
|
||||
action: yum name=$item state=installed
|
||||
with_name:
|
||||
with_items:
|
||||
- postgresql # database client
|
||||
- postgresql-server # database server
|
||||
- python-psycopg2 # database library
|
||||
|
||||
- name: install python modules
|
||||
- name: install python modules from pip
|
||||
pip: requirements=${working_dir}/requirements.txt
|
||||
|
||||
- name: configure the database authentication more or less open for setup
|
||||
|
||||
@ -13,7 +13,7 @@ MANAGERS = ADMINS
|
||||
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'postgresql_psycopg2',
|
||||
'ENGINE': 'django.db.backends.postgresql_psycopg2',
|
||||
'NAME': 'acom',
|
||||
'USER': 'ansible_commander',
|
||||
'PASSWORD': '{{ database_password }}',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user