Documentation

ipinfoio_facts - Retrieve IP geolocation facts of a host’s IP address

New in version 2.3.

Synopsis

  • Gather IP geolocation facts of a host’s IP address using ipinfo.io API

Options

parameter required default choices comments
http_agent
no ansible-ipinfoio-module/0.0.1
Set http user agent
timeout
no 10
HTTP connection timeout in seconds

Examples

# Retrieve geolocation data of a host's IP address
- name: get IP geolocation data
  ipinfoio_facts:

Return Values

Common return values are documented here Return Values, the following are the fields unique to this module:

name description returned type sample
ansible_facts Dictionary of ip geolocation facts for a host's IP address changed complex


Notes

Note

Status

This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.

Support

This module is community maintained without core committer oversight.

For more information on what this means please read Module Support

For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Helping Testing PRs and Developing Modules.