a7e27b74c9
* Add ability to append suffix to host names for Cloudforms Inventory Allows for use of a suffix that will be appended to host names returned from Cloudforms API if that suffix is not present. For example with a suffix of 'example.org', the following results would be shown for a particular Cloudforms host name: someexample -> someexample.example.org someexample.example.org -> someexample.example.org The main use-case for this is when Cloudforms has short names rather than FQDN and there is a desire to to use the FQDN as the name. * Add example line into Cloudforms INI file * Clarify that leading fullstop needed * Add validation to ensure leading fullstop for suffix
37 lines
970 B
INI
37 lines
970 B
INI
[cloudforms]
|
|
|
|
# the version of CloudForms ; currently not used, but tested with
|
|
version = 4.1
|
|
|
|
# This should be the hostname of the CloudForms server
|
|
url = https://cfme.example.com
|
|
|
|
# This will more than likely need to be a local CloudForms username
|
|
username = <set your username here>
|
|
|
|
# The password for said username
|
|
password = <set your password here>
|
|
|
|
# True = verify SSL certificate / False = trust anything
|
|
ssl_verify = True
|
|
|
|
# limit the number of vms returned per request
|
|
limit = 100
|
|
|
|
# purge the CloudForms actions from hosts
|
|
purge_actions = True
|
|
|
|
# Clean up group names (from tags and other groupings so Ansible doesn't complain)
|
|
clean_group_keys = True
|
|
|
|
# Explode tags into nested groups / subgroups
|
|
nest_tags = False
|
|
|
|
# If set, ensure host name are suffixed with this value
|
|
# Note: This suffix *must* include the leading '.' as it is appended to the hostname as is
|
|
# suffix = .example.org
|
|
|
|
[cache]
|
|
|
|
# Maximum time to trust the cache in seconds
|
|
max_age = 600
|