Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
ccc607ea
Commit
ccc607ea
authored
Oct 01, 2013
by
Paul Durivage
Committed by
Paul Durivage
Oct 29, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Documentation updates
parent
d3c88324
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
12 deletions
+7
-12
plugins/inventory/rax.py
+7
-12
No files found.
plugins/inventory/rax.py
View file @
ccc607ea
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment