ensure "create_preload_data" is honored in docker-compose deployments

Use a templated version of launch_awx_task.sh which conditionally preloads
sample data according to create_preload_data value.
This commit is contained in:
Andrea Galbusera
2019-06-19 12:19:02 +02:00
committed by Shane McDonald
parent d3ea09d60c
commit 1198c067b2
2 changed files with 4 additions and 2 deletions

View File

@@ -124,8 +124,8 @@
delegate_to: localhost
- name: Stage launch_awx_task
copy:
src: launch_awx_task.sh
template:
src: launch_awx_task.sh.j2
dest: "{{ docker_base_path }}/launch_awx_task.sh"
mode: '0700'
delegate_to: localhost