summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorPaul Durivage <paul.durivage@rackspace.com>2013-10-01 13:15:20 -0500
committerPaul Durivage <pauldurivage@gmail.com>2013-10-29 13:40:31 -0500
commitccc607eaa5265ee6295ab74e427e07a765d47d93 (patch)
tree70bfc93f4636913f3903cb7af1dbf57ef49cd332 /plugins
parentd3c883241428091d5de4175e609b1831af8228b7 (diff)
downloadansible-ccc607eaa5265ee6295ab74e427e07a765d47d93.tar.gz
Documentation updates
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/inventory/rax.py19
1 files changed, 7 insertions, 12 deletions
diff --git a/plugins/inventory/rax.py b/plugins/inventory/rax.py
index bcfe674561..cbf781cfea 100755
--- a/plugins/inventory/rax.py
+++ b/plugins/inventory/rax.py
@@ -57,22 +57,17 @@ options:
- File to find the Rackspace Public Cloud credentials in
required: true
default: null
- region_name:
- description:
- - Region name to use in request
- required: false
- default: DFW
-author: Jesse Keating
+authors:
+ - Jesse Keating <jesse.keating@rackspace.com>
+ - Paul Durivage <paul.durivage@rackspace.com>
notes:
- - Two environment variables need to be set, RAX_CREDS and RAX_REGION.
- - RAX_CREDS points to a credentials file appropriate for pyrax
- - RAX_REGION defines a Rackspace Public Cloud region (DFW, ORD, LON, ...)
+ - One environment variable needs to be set: RAX_CREDS_FILE.
+ - RAX_CREDS_FILE points to a credentials file appropriate for pyrax.
+ - See https://github.com/rackspace/pyrax/blob/master/docs/getting_started.md#authenticating
requirements: [ "pyrax" ]
examples:
- description: List server instances
- code: RAX_CREDS_FILE=~/.raxpub RAX_REGION=ORD rax.py --list
- - description: List server instance properties
- code: RAX_CREDS_FILE=~/.raxpub RAX_REGION=ORD rax.py --host <HOST_IP>
+ code: RAX_CREDS_FILE=~/.raxpub rax.py --list
'''
import sys