1# Ansible Rackspace external inventory script settings
2#
3
4[rax]
5
6# Environment Variable: RAX_CREDS_FILE
7#
8# An optional configuration that points to a pyrax-compatible credentials
9# file.
10#
11# If not supplied, rax.py will look for a credentials file
12# at ~/.rackspace_cloud_credentials.  It uses the Rackspace Python SDK,
13# and therefore requires a file formatted per the SDK's specifications.
14#
15# https://github.com/rackspace/pyrax/blob/master/docs/getting_started.md
16# creds_file = ~/.rackspace_cloud_credentials
17
18# Environment Variable: RAX_REGION
19#
20# An optional environment variable to narrow inventory search
21# scope. If used, needs a value like ORD, DFW, SYD (a Rackspace
22# datacenter) and optionally accepts a comma-separated list.
23# regions = IAD,ORD,DFW
24
25# Environment Variable: RAX_ENV
26#
27# A configuration that will use an environment as configured in
28# ~/.pyrax.cfg, see
29# https://github.com/rackspace/pyrax/blob/master/docs/getting_started.md
30# env = prod
31
32# Environment Variable: RAX_META_PREFIX
33# Default: meta
34#
35# A configuration that changes the prefix used for meta key/value groups.
36# For compatibility with ec2.py set to "tag"
37# meta_prefix = meta
38
39# Environment Variable: RAX_ACCESS_NETWORK
40# Default: public
41#
42# A configuration that will tell the inventory script to use a specific
43# server network to determine the ansible_ssh_host value. If no address
44# is found, ansible_ssh_host will not be set. Accepts a comma-separated
45# list of network names, the first found wins.
46# access_network = public
47
48# Environment Variable: RAX_ACCESS_IP_VERSION
49# Default: 4
50#
51# A configuration related to "access_network" that will attempt to
52# determine the ansible_ssh_host value for either IPv4 or IPv6. If no
53# address is found, ansible_ssh_host will not be set.
54# Acceptable values are: 4 or 6. Values other than 4 or 6
55# will be ignored, and 4 will be used. Accepts a comma separated list,
56# the first found wins.
57# access_ip_version = 4
58
59# Environment Variable: RAX_CACHE_MAX_AGE
60# Default: 600
61#
62# A configuration the changes the behavior or the inventory cache.
63# Inventory listing performed before this value will be returned from
64# the cache instead of making a full request for all inventory. Setting
65# this value to 0 will force a full request.
66# cache_max_age = 600