checking out the documentation, modules like set_fact and register have scope only for that specific host. There are many purpose of using the variables from one host to another.
Alternatives I can think of: 1. using Command module and echoing the variables to a file. Later, using the variable file using vars section or include. 2. Setting the env variables and then accessing it but this will be difficult. So what is the solution? -- 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/b6110245-64f8-4e00-ac0a-010cd5cb8b52%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
