Support fallbacks for access network and access ip version

This commit is contained in:
Matt Martz
2014-11-10 11:49:22 -06:00
parent b9b3c0ded6
commit 2f03e0c906
2 changed files with 37 additions and 22 deletions

View File

@@ -41,7 +41,8 @@
#
# A configuration that will tell the inventory script to use a specific
# server network to determine the ansible_ssh_host value. If no address
# is found, ansible_ssh_host will not be set.
# is found, ansible_ssh_host will not be set. Accepts a comma-separated
# list of network names, the first found wins.
# access_network = public
# Environment Variable: RAX_ACCESS_IP_VERSION
@@ -51,5 +52,6 @@
# 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
# will be ignored, and 4 will be used.
# will be ignored, and 4 will be used. Accepts a comma separated list,
# the first found wins.
# access_ip_version = 4