Solved variable and handler bugs

This commit is contained in:
2025-01-27 00:52:49 +01:00
parent b6836d9bb1
commit 338c7b5830
2 changed files with 3 additions and 3 deletions

View File

@@ -9,7 +9,7 @@
args:
removes: "{{docker_compose_instance_directory}}{{ item }}"
become: true
loop: "{{ merged_detached_files }}"
loop: "{{ merged_detached_files | default(detached_files) }}"
- name: checkout repository
ansible.builtin.shell: git checkout .
@@ -32,7 +32,7 @@
args:
removes: "/tmp/{{docker_compose_project_name}}-{{ item }}.backup"
become: true
loop: "{{ merged_detached_files }}"
loop: "{{ merged_detached_files | default(detached_files) }}"
- name: "copy {{ detached_files }} templates to server"
template: