2013-09-23 21:08:16 +00:00
|
|
|
# Ansible Cobbler external inventory script settings
|
|
|
|
#
|
|
|
|
|
|
|
|
[cobbler]
|
|
|
|
|
|
|
|
host = http://PATH_TO_COBBLER_SERVER/cobbler_api
|
|
|
|
|
2015-03-27 04:38:18 +00:00
|
|
|
# If API needs authentication add 'username' and 'password' options here.
|
|
|
|
#username = foo
|
|
|
|
#password = bar
|
|
|
|
|
2013-09-23 21:08:16 +00:00
|
|
|
# API calls to Cobbler can 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. Two files
|
|
|
|
# will be written to this directory:
|
|
|
|
# - ansible-cobbler.cache
|
|
|
|
# - ansible-cobbler.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 = 900
|
|
|
|
|
|
|
|
|
|
|
|
|