New in version 2.3.
| 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
|
# Retrieve geolocation data of a host's IP address - name: get IP geolocation data ipinfoio_facts:
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 | ||||||||||||||||||||||||||||||||||||||||||||||
| contains: |
|
||||||||||||||||||||||||||||||||||||||||||||||||
Note
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Testing Ansible and Developing Modules.