--
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-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
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-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I'd find that above a bit of an anti-pattern.If you want to include multiple files and have that role associated versus play associated, the best way to do this is to use the "include_vars" module inside a task file.There's an open RFE to include every file in "vars/" automatically with "main" coming first, but I'm thinking we're likely to close that idea entirely -- as conditional includes are useful things.
I had most of the items using include_vars to begin with, but I make heavy use of --start-at-task while developing scripts / debugging.
--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/LgiQ6CRHRCY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
vars files are pure YAML, there is no inclusion mechanism in YAML which is what parses these files.playbooks or tasks/main.yml are YAML files in 'ansible format' and are parsed by ansible, which has include directives.
--
You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/LgiQ6CRHRCY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.