Improve handling around loop var and correct pvcd

This commit is contained in:
2023-09-01 15:42:19 -04:00
parent 7d34927926
commit fbd0ed9390
2 changed files with 7 additions and 4 deletions

View File

@ -26,5 +26,7 @@
- include: pvc.yml
tags: pvc-pvc
run_once: true
delegate_to: "{{ item }}"
delegate_to: "{{ play_host }}"
with_items: "{{ play_hosts }}"
loop_control:
loop_var: play_host