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