On 29.05.16 03:19 ZaVaZaVa wrote:
> Question: How do I pass parameters to a YML file or, assuming it is the
> same, how do I pass variables into modules defined within Playbook.
I fear your question is too wide to get really good answers. Why don't
you give an example of what you are trying to achieve? Or which code
works/does not work for you?
Generally, variables set in host_vars, group_vars, vars-sections of
plays and similar are set and can be used within a play or role or task.
https://docs.ansible.com/ansible/playbooks_variables.html
Johannes