mirror of
https://github.com/ansible/awx.git
synced 2026-03-23 03:45:01 -02:30
Fix up ansible playbook given recent path changes.
This commit is contained in:
@@ -32,13 +32,12 @@
|
|||||||
- name: restart postgresql
|
- name: restart postgresql
|
||||||
service: name=postgresql state=restarted
|
service: name=postgresql state=restarted
|
||||||
|
|
||||||
|
# took out parameter... db=acom priv=ALL
|
||||||
- name: setup the postgresql user
|
- name: setup the postgresql user
|
||||||
postgresql_user: >
|
postgresql_user: >
|
||||||
name=ansible_commander
|
name=ansible_commander
|
||||||
db=ansible_commander
|
|
||||||
password=${database_password}
|
password=${database_password}
|
||||||
login_user=postgres
|
login_user=postgres
|
||||||
priv=ALL
|
|
||||||
sudo_user: postgres
|
sudo_user: postgres
|
||||||
|
|
||||||
- name: create the database
|
- name: create the database
|
||||||
@@ -51,7 +50,7 @@
|
|||||||
service: name=postgresql state=restarted
|
service: name=postgresql state=restarted
|
||||||
|
|
||||||
- name: configure python settings (with database password)
|
- name: configure python settings (with database password)
|
||||||
template: src=templates/settings.py.j2 dest=${working_dir}/acom/settings.py
|
template: src=templates/settings.py.j2 dest=${working_dir}/lib/settings.py
|
||||||
|
|
||||||
#- name: sync Django database
|
#- name: sync Django database
|
||||||
# shell: python ${working_dir}/manage.py syncdb
|
# shell: python ${working_dir}/manage.py syncdb
|
||||||
|
|||||||
Reference in New Issue
Block a user