fix: loop_var under loop_control in drain.yml and restore.yml

This commit is contained in:
Semaphore
2026-03-14 14:25:24 -07:00
parent e771f6d9a9
commit a19fe2ce5d
8 changed files with 50 additions and 11 deletions

View File

@@ -33,7 +33,8 @@
validate_certs: false
register: restore_task
loop: "{{ migration_plan | rejectattr('needs_fallback') | list }}"
loop_var: guest
loop_control:
loop_var: guest
delegate_to: localhost
- name: Restore | Wait for all restore migrations to complete
@@ -60,4 +61,3 @@
- name: Restore | Complete
ansible.builtin.debug:
msg: "All guests restored to {{ current_node }}"