Fix remote server loop var name in deployment (#275)

This commit is contained in:
Gerardo Nardelli 2020-01-20 16:53:20 -03:00 committed by Alexander Kolotov
parent 73d5002105
commit 612f130544
2 changed files with 4 additions and 2 deletions

@ -4,6 +4,8 @@
- docker-compose
- docker-compose-transfer
- docker-compose-erc-native
loop_control:
loop_var: file
- name: Set the local container logs configuration file
template:

@ -1,7 +1,7 @@
---
- name: Slurp docker compose file
slurp:
src: "{{ bridge_path }}/oracle/{{ item }}.yml"
src: "{{ bridge_path }}/oracle/{{ file }}.yml"
register: docker_compose_slurp
- name: Parse docker compose file
@ -16,4 +16,4 @@
- name: Write updated docker file
copy:
content: "{{ docker_compose_parsed | to_yaml }}"
dest: "{{ bridge_path }}/oracle/{{ item }}.yml"
dest: "{{ bridge_path }}/oracle/{{ file }}.yml"