Hello!
I have two servers. For example, srv1 and srv2.
I need to provide IP address srv1 in the configuration srv2.
How this can be done using the ip address obtained through the facts?
Hello!
I have two servers. For example, srv1 and srv2.
I need to provide IP address srv1 in the configuration srv2.
How this can be done using the ip address obtained through the facts?
See the FAQ about accessing information about other hosts: http://www.ansibleworks.com/docs/playbooks_variables.html#id22