2014-11-03 16:34:01 +00:00
|
|
|
# Ansible Rackspace external inventory script settings
|
|
|
|
#
|
|
|
|
|
|
|
|
[rax]
|
|
|
|
|
|
|
|
# Environment Variable: RAX_CREDS_FILE
|
|
|
|
#
|
|
|
|
# An optional configuration that points to a pyrax-compatible credentials
|
|
|
|
# file.
|
|
|
|
#
|
|
|
|
# If not supplied, rax.py will look for a credentials file
|
|
|
|
# at ~/.rackspace_cloud_credentials. It uses the Rackspace Python SDK,
|
|
|
|
# and therefore requires a file formatted per the SDK's specifications.
|
|
|
|
#
|
|
|
|
# https://github.com/rackspace/pyrax/blob/master/docs/getting_started.md
|
|
|
|
# creds_file = ~/.rackspace_cloud_credentials
|
|
|
|
|
|
|
|
# Environment Variable: RAX_REGION
|
|
|
|
#
|
|
|
|
# An optional environment variable to narrow inventory search
|
|
|
|
# scope. If used, needs a value like ORD, DFW, SYD (a Rackspace
|
|
|
|
# datacenter) and optionally accepts a comma-separated list.
|
|
|
|
# regions = IAD,ORD,DFW
|
|
|
|
|
|
|
|
# Environment Variable: RAX_ENV
|
|
|
|
#
|
|
|
|
# A configuration that will use an environment as configured in
|
|
|
|
# ~/.pyrax.cfg, see
|
|
|
|
# https://github.com/rackspace/pyrax/blob/master/docs/getting_started.md
|
|
|
|
# env = prod
|
|
|
|
|
|
|
|
# Environment Variable: RAX_META_PREFIX
|
|
|
|
# Default: meta
|
|
|
|
#
|
|
|
|
# A configuration that changes the prefix used for meta key/value groups.
|
|
|
|
# For compatibility with ec2.py set to "tag"
|
|
|
|
# meta_prefix = meta
|
|
|
|
|
|
|
|
# Environment Variable: RAX_ACCESS_NETWORK
|
|
|
|
# Default: public
|
|
|
|
#
|
|
|
|
# A configuration that will tell the inventory script to use a specific
|
|
|
|
# server network to determine the ansible_ssh_host value. If no address
|
2014-11-10 17:49:22 +00:00
|
|
|
# is found, ansible_ssh_host will not be set. Accepts a comma-separated
|
|
|
|
# list of network names, the first found wins.
|
2014-11-03 16:34:01 +00:00
|
|
|
# access_network = public
|
|
|
|
|
|
|
|
# Environment Variable: RAX_ACCESS_IP_VERSION
|
|
|
|
# Default: 4
|
|
|
|
#
|
|
|
|
# A configuration related to "access_network" that will attempt to
|
|
|
|
# determine the ansible_ssh_host value for either IPv4 or IPv6. If no
|
|
|
|
# address is found, ansible_ssh_host will not be set.
|
|
|
|
# Acceptable values are: 4 or 6. Values other than 4 or 6
|
2014-11-10 17:49:22 +00:00
|
|
|
# will be ignored, and 4 will be used. Accepts a comma separated list,
|
|
|
|
# the first found wins.
|
2014-11-03 16:34:01 +00:00
|
|
|
# access_ip_version = 4
|
2016-01-20 20:27:06 +00:00
|
|
|
|
|
|
|
# Environment Variable: RAX_CACHE_MAX_AGE
|
|
|
|
# Default: 600
|
|
|
|
#
|
|
|
|
# A configuration the changes the behavior or the inventory cache.
|
|
|
|
# Inventory listing performed before this value will be returned from
|
|
|
|
# the cache instead of making a full request for all inventory. Setting
|
|
|
|
# this value to 0 will force a full request.
|
|
|
|
# cache_max_age = 600
|