On 30 August 2015 at 12:23, Chenxiong Qi <[email protected]> wrote: > a file inventory/myhost, it contains following line > > myhost ansible_ssh_host={{ myhost_ip_address }}
the variable ansible_ssh_hos t will just be available for that host you can also access it from another host as hostvars.myhost.ansible_ssh_host or hostvars['myhost']['ansible_ssh_host'] -- 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/CAEhzMJCADforeacC3Cyo_bq0WcDeK9FvTVHp0NS-a40%3Dp1Co5w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
