http://snippets.bentasker.i2p/posts/ansible/get-public-facing-ip-of-remote-machine.html
Skip to main content Private area snippets.bentasker.co.uk Search Tags BASH Python JS Misc Get public facing IP of remote machine (Ansible) Ben Tasker 2018-07-10 09:36 Category: Ansible On occasion, you might need to identify the IP address of the machine being ansibled. However, there are various scenarios (AWS instances, alicloud instances, NAT etc) where the public facing IP of your machine may not necessarily be bound directly to an interface on...