mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
Remove unneeded roles from the installer directory
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
- name: Remove awx_postgres to ensure consistent start state
|
||||
shell: |
|
||||
docker rm -f awx_postgres
|
||||
ignore_errors: true
|
||||
|
||||
- name: Start Local Docker database container
|
||||
docker_compose:
|
||||
@@ -13,6 +14,10 @@
|
||||
state: present
|
||||
recreate: always
|
||||
|
||||
- name: Wait for postgres to initialize
|
||||
wait_for:
|
||||
timeout: 3
|
||||
|
||||
- name: Database dump to local filesystem
|
||||
shell: |
|
||||
docker-compose -f {{ old_docker_compose_dir }}/docker-compose.yml exec -T postgres pg_dumpall -U {{ pg_username }} > awx_dump.sql
|
||||
|
||||
Reference in New Issue
Block a user