diff --git a/playbooks/sync_all_test.yaml b/playbooks/sync_all_test.yaml index dbd2d49..ad35031 100644 --- a/playbooks/sync_all_test.yaml +++ b/playbooks/sync_all_test.yaml @@ -2,13 +2,15 @@ - name: import a task hosts: containers gather_facts: false + vars: + listjojocomma: "{{ selected_containers | split(',') }}" tasks: - debug: - msg: "{{ selected_containers }}" + msg: "{{ listjojocomma }}" - debug: msg: "{{ item }}" - loop: "{{ selected_containers }}" - + loop: "{{ listjojocomma }}" + - debug: msg: "{{ item }}" loop: "{{ selected_host }}" \ No newline at end of file