|
33 | 33 | configs:
|
34 | 34 | {% endif %}
|
35 | 35 | {% for f in ( templates_and_files | list ) %}
|
36 |
| - - source: {{ f.config_name }}_{{ hostvars[inventory_hostname]['docker_deploy_configs_checksum'][ docker_deploy_stack_name + '_' + f.config_name ] }} |
| 36 | + - source: {{ f.config_name }}_{{ hostvars[inventory_hostname]['docker_deploy_configs_checksum'][ _docker_deploy_name + '_' + f.config_name ] }} |
37 | 37 | target: {{ f.docker_target }}
|
38 | 38 | {% endfor %}
|
39 | 39 | {% endmacro %}
|
|
68 | 68 | {% set templates_and_files = (templates_and_files | rejectattr('when', 'defined') | list) +
|
69 | 69 | (templates_and_files | selectattr('when', 'defined') | selectattr('when', 'equalto', true) | list) %}
|
70 | 70 | {% for f in templates_and_files %}
|
71 |
| - - source: {{ f.secret_name }}_{{ hostvars[inventory_hostname]['docker_deploy_secrets_checksum'][ docker_deploy_stack_name + '_' + f.secret_name ] }} |
| 71 | + - source: {{ f.secret_name }}_{{ hostvars[inventory_hostname]['docker_deploy_secrets_checksum'][ _docker_deploy_name + f.secret_name ] }} |
72 | 72 | target: {{ f.docker_target }}
|
73 | 73 | {% endfor %}
|
74 | 74 | {% endmacro %}
|
@@ -96,7 +96,7 @@ configs:
|
96 | 96 | {% set templates_and_files = (templates_and_files | rejectattr('when', 'defined') | list) +
|
97 | 97 | (templates_and_files | selectattr('when', 'defined') | selectattr('when', 'equalto', true) | list) %}
|
98 | 98 | {% for f in templates_and_files %}
|
99 |
| - {{ f.config_name }}_{{ hostvars[inventory_hostname]['docker_deploy_configs_checksum'][ docker_deploy_stack_name + '_' + f.config_name ] }}: |
| 99 | + {{ f.config_name }}_{{ hostvars[inventory_hostname]['docker_deploy_configs_checksum'][ _docker_deploy_name + '_' + f.config_name ] }}: |
100 | 100 | file: {{ f.dest }}
|
101 | 101 | {% endfor %}
|
102 | 102 | {% endmacro %}
|
@@ -124,7 +124,7 @@ secrets:
|
124 | 124 | {% set templates_and_files = (templates_and_files | rejectattr('when', 'defined') | list) +
|
125 | 125 | (templates_and_files | selectattr('when', 'defined') | selectattr('when', 'equalto', true) | list) %}
|
126 | 126 | {% for f in templates_and_files %}
|
127 |
| - {{ f.secret_name }}_{{ hostvars[inventory_hostname]['docker_deploy_secrets_checksum'][ docker_deploy_stack_name + '_' + f.secret_name ] }}: |
| 127 | + {{ f.secret_name }}_{{ hostvars[inventory_hostname]['docker_deploy_secrets_checksum'][ _docker_deploy_name + f.secret_name ] }}: |
128 | 128 | file: {{ f.dest }}
|
129 | 129 | {% endfor %}
|
130 | 130 | {% endmacro %}
|
0 commit comments