mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 02:19:58 -03:30
make volume concatenation work
The second list gets interpreted as part of the else block, effectively dropping it. Separating both list definitions with braces seems to work. # Conflicts: # installer/roles/local_docker/tasks/standalone.yml
This commit is contained in:
parent
4e9c705997
commit
6ecd18b2e2
@ -84,8 +84,8 @@
|
||||
image: "{{ awx_web_docker_actual_image }}"
|
||||
volumes: >
|
||||
{{
|
||||
[project_data_dir + ':/var/lib/awx/projects:z'] if project_data_dir is defined else []
|
||||
+ [ca_trust_dir + ':/etc/pki/ca-trust/source/anchors:ro'] if ca_trust_dir is defined else []
|
||||
([project_data_dir + ':/var/lib/awx/projects:z'] if project_data_dir is defined else [])
|
||||
+ ([ca_trust_dir + ':/etc/pki/ca-trust/source/anchors:ro'] if ca_trust_dir is defined else [])
|
||||
}}
|
||||
user: root
|
||||
ports:
|
||||
@ -127,8 +127,8 @@
|
||||
image: "{{ awx_task_docker_actual_image }}"
|
||||
volumes: >
|
||||
{{
|
||||
[project_data_dir + ':/var/lib/awx/projects:z'] if project_data_dir is defined else []
|
||||
+ [ca_trust_dir + ':/etc/pki/ca-trust/source/anchors:ro'] if ca_trust_dir is defined else []
|
||||
([project_data_dir + ':/var/lib/awx/projects:z'] if project_data_dir is defined else [])
|
||||
+ ([ca_trust_dir + ':/etc/pki/ca-trust/source/anchors:ro'] if ca_trust_dir is defined else [])
|
||||
}}
|
||||
links: "{{ awx_task_container_links|list }}"
|
||||
user: root
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user