[c] Fix loop_var

This commit is contained in:
Sangelo 2024-03-05 10:16:19 +01:00
parent 6f29e45bfe
commit 319ea06475

View file

@ -14,14 +14,14 @@
- name: "Create {{ core_docker_compose_name }} files" - name: "Create {{ core_docker_compose_name }} files"
ansible.builtin.template: ansible.builtin.template:
src: '{{ core_docker_compose_template_loop.src }}' src: "{{ core_docker_compose_template_loop.src }}"
dest: '{{ core_docker_compose_template_loop.dest }}' dest: "{{ core_docker_compose_template_loop.dest }}"
owner: '{{ core_docker_compose_template_user }}' owner: "{{ core_docker_compose_template_user }}"
group: '{{ core_docker_compose_template_group }}' group: "{{ core_docker_compose_template_group }}"
mode: '{{ core_docker_compose_templates_mode }}' mode: "{{ core_docker_compose_templates_mode }}"
loop: '{{ core_docker_compose_templates }}' loop: "{{ core_docker_compose_templates }}"
loop_control: loop_control:
loop_var: '{{ core_docker_compose_template_loop }}' loop_var: core_docker_compose_template_loop
when: core_docker_compose_cp_templates when: core_docker_compose_cp_templates
- name: "Create docker-compose.yml for {{ core_docker_compose_name }}" - name: "Create docker-compose.yml for {{ core_docker_compose_name }}"