diff --git a/playbooks/sync_all_test.yaml b/playbooks/sync_all_test.yaml index 1f17abb..5c407a5 100644 --- a/playbooks/sync_all_test.yaml +++ b/playbooks/sync_all_test.yaml @@ -3,7 +3,8 @@ hosts: containers gather_facts: false vars: - listjojocomma: "{{ selected_containers | replace('\\[', '')| replace('\\]','')|[split(',') }}" + #listjojocomma: "{{ selected_containers | replace('\\[', '')| replace('\\]','')|[split(',') }}" + listjojocomma: "{{ selected_containers | from_json }}" tasks: - debug: msg: "{{ listjojocomma }}"