New in version 2.0.
URL of the ipify.org API service.
(added in 2.3)
HTTP connection timeout in seconds.
# Gather IP facts from ipify.org - name: get my public IP ipify_facts: # Gather IP facts from your own ipify service endpoint with a custom timeout - name: get my public IP ipify_facts: api_url: http://api.example.com/ipify timeout: 20
Common return values are documented here Return Values, the following are the fields unique to this module:
|ipify_public_ip||Public IP of the internet gateway.||success||string||18.104.22.168|
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.