make preload data optional again

Signed-off-by: JAKUBIS Peter H50R8VA <peter.jakubis@erstegroup.com>
This commit is contained in:
JAKUBIS Peter H50R8VA
2020-12-02 16:17:25 +01:00
parent 29926ba5d9
commit a5f676c3e1
3 changed files with 6 additions and 5 deletions

View File

@@ -49,4 +49,10 @@
- name: Update CA trust in awx_task container
command: docker exec awx_task '/usr/bin/update-ca-trust'
when: awx_compose_config.changed or awx_compose_start.changed
- name: Create Preload data
command: docker exec awx_task bash -c "/usr/bin/awx-manage create_preload_data"
when: create_preload_data|bool
register: cdo
changed_when: "'added' in cdo.stdout"
when: compose_start_containers|bool