Is it possible to pass a list as an extra-vars variable on the command line?
I have tried various syntax but it doesn't work. E.g. ansible-playbook my_playbook.yml -i local --extra-vars roles_to_deploy=role1,role2 ansible-playbook my_playbook.yml -i local --extra-vars roles_to_deploy=[role1,role2] ansible-playbook my_playbook.yml -i local --extra-vars roles_to_deploy=['role1','role2'] -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/a1c3c3ee-f51e-42c1-99bf-677ef6eaa8e5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
