Use sorting on lists due to ansible update
This commit is contained in:
parent
e42d128fcf
commit
58d75c0f13
@ -28,10 +28,12 @@
|
||||
{{ [( 'pod-' ~ services_service_name )] |
|
||||
union([( 'pod-' ~ services_service_name ~ '-')] |
|
||||
product(services_deploy_pod_oneshot.after | default([])) | map('join')) |
|
||||
sort |
|
||||
product(['.service']) | map('join') }}"
|
||||
services_deploy_pod_oneshot_before: "\
|
||||
{{ [( 'pod-' ~ services_service_name ~ '-')] |
|
||||
product(services_deploy_pod_oneshot.before | default([])) | map('join') |
|
||||
sort |
|
||||
product(['.service']) | map('join') }}"
|
||||
loop: "{{ (services_deploy_pod.oneshot | default({})).keys() }}"
|
||||
register: services_deploy_pod_oneshot_files
|
||||
@ -49,14 +51,17 @@
|
||||
{{ [( 'pod-' ~ services_service_name )] |
|
||||
union([( 'pod-' ~ services_service_name ~ '-')] |
|
||||
product(services_deploy_pod_container.binds_to | default([])) | map('join')) |
|
||||
sort |
|
||||
product(['.service']) | map('join') }}"
|
||||
services_deploy_pod_container_requires: "\
|
||||
{{ [( 'pod-' ~ services_service_name ~ '-')] |
|
||||
product(services_deploy_pod_container.requires | default([])) | map('join') |
|
||||
sort |
|
||||
product(['.service']) | map('join') }}"
|
||||
services_deploy_pod_container_wants: "\
|
||||
{{ [( 'pod-' ~ services_service_name ~ '-')] |
|
||||
product(services_deploy_pod_container.wants | default([])) | map('join') |
|
||||
sort |
|
||||
product(['.service']) | map('join') }}"
|
||||
loop: "{{ services_deploy_pod.containers.keys() }}"
|
||||
register: services_deploy_pod_container_files
|
||||
|
Loading…
Reference in New Issue
Block a user