mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
23f78efd74
* Add public_ip option to linode dynamic inventory * Add an option to use public IP instead of label for linode hosts
18 lines
No EOL
605 B
INI
18 lines
No EOL
605 B
INI
# Ansible Linode external inventory script settings
|
|
#
|
|
|
|
[linode]
|
|
|
|
# API calls to Linode are slow. For this reason, we cache the results of an API
|
|
# call. Set this to the path you want cache files to be written to. Two files
|
|
# will be written to this directory:
|
|
# - ansible-Linode.cache
|
|
# - ansible-Linode.index
|
|
cache_path = /tmp
|
|
|
|
# The number of seconds a cache file is considered valid. After this many
|
|
# seconds, a new API call will be made, and the cache file will be updated.
|
|
cache_max_age = 300
|
|
|
|
# If set to true use the hosts public ip in the dictionary instead of the label
|
|
use_public_ip = false |