Globally pass variable

17 views
Skip to first unread message

Zhukov Pavel

unread,
Oct 12, 2014, 7:32:03 PM10/12/14
to ansible...@googlegroups.com
Is it possible to specify variable for a module to use it in every call of that module?

E.g i have multiple calling to docker and docker_image modules inside playbook, but since i have a mac with docker inside VM, i should pass docker_url variable on EACH call of docker module.
Is it possible to define variable that will be used by every module automatically or redefine defaults for module?

Michael DeHaan

unread,
Oct 13, 2014, 4:56:25 PM10/13/14
to ansible...@googlegroups.com
It is not possible to do this.



--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/77412ac9-7bf7-4a49-9ef1-2707e17e99e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages