Change SQL backend in settings template, tweak playbook

This commit is contained in:
Michael DeHaan
2013-03-13 16:13:06 -04:00
parent b97193e6a0
commit 6c8b4de4c1
2 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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 }}',