Ansible set_fact documentation
http://docs.ansible.com/ansible/set_fact_module.html says "Or
alternatively, accepts complex arguments using the args: statement". How do
I use "args"?
So far I figured out that this works (using it in tasks array):
{
"local_action": {
"module": "set_fact",
"git_version": "HEAD"
},
}
which is almost great but this way of specifying variables does not allow
to set variable names "module" given that "module" is the name of the
module.
When I use "args" as a key it just becomes a variable...
Is there a better way to specify a dictionary/map for the module (using the
style above. not the other one where the module name is the main key).
Thanks!
erik
--
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/d22e00c4-7e38-4f0b-806a-16365680ab8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.