SyntaxFix
Write A Post
Hire A Developer
Questions
Another way to find public IP would be to use uri module:
uri
- name: Find my public ip uri: url: http://ifconfig.me/ip return_content: yes register: ip_response
Your IP will be in ip_response.content
ip_response.content