2013-06-27 03:01:30 +00:00
|
|
|
# Ansible DigitalOcean external inventory script settings
|
|
|
|
#
|
|
|
|
|
|
|
|
[digital_ocean]
|
|
|
|
|
2015-05-13 15:12:48 +00:00
|
|
|
# The module needs your DigitalOcean API Token.
|
|
|
|
# It may also be specified on the command line via --api-token
|
|
|
|
# or via the environment variables DO_API_TOKEN or DO_API_KEY
|
2013-06-27 03:01:30 +00:00
|
|
|
#
|
2015-05-13 15:12:48 +00:00
|
|
|
#api_token = 123456abcdefg
|
2013-06-27 03:01:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# API calls to DigitalOcean may be 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.
|
|
|
|
# One file will be written to this directory:
|
|
|
|
# - ansible-digital_ocean.cache
|
|
|
|
#
|
|
|
|
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
|