Hi, This may come in handy at some point:
# vim: set ft=yaml: # usage: ansible-playbook -e role=somerole role.yml --- - hosts: all roles: - '{{role}}' However, I wasn't able to figure out how to perform the same trick on multiple roles: # vim: set ft=yaml: # usage: ansible-playbook -e '{"roles": ["role1", "role2"]}' roles.yml --- - hosts: all roles: '{{roles}}' If anyone has any ideas, please share! Cheers, Paul -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f0d2713b-afd8-4574-90b2-43679fb3dad0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.