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
858efd00
Commit
858efd00
authored
Jun 01, 2013
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Standarize docs
parent
d0286f76
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
13 deletions
+13
-13
library/cloud/glance_image
+3
-3
library/cloud/keystone_user
+1
-1
library/cloud/nova_compute
+2
-2
library/cloud/nova_keypair
+2
-2
library/cloud/quantum_floating_ip
+5
-5
No files found.
library/cloud/glance_image
View file @
858efd00
...
...
@@ -32,12 +32,12 @@ options:
description:
- Password of login user
required: true
default:
yes
default:
'yes'
login_tenant_name:
description:
- The tenant name of the login user
required: true
default:
yes
default:
'yes'
auth_url:
description:
- The keystone url for authentication
...
...
@@ -87,7 +87,7 @@ options:
description:
- Wether the image can be accesed publically
required: false
default:
yes
default:
'yes'
copy_from:
description:
- A url from where the image can be downloaded, mutually exculsive with file parameter
...
...
library/cloud/keystone_user
View file @
858efd00
...
...
@@ -19,7 +19,7 @@ options:
description:
- Password of login user
required: false
default:
yes
default:
'yes'
token:
description:
- The token to be uses in case the password is not specified
...
...
library/cloud/nova_compute
View file @
858efd00
...
...
@@ -38,12 +38,12 @@ options:
description:
- Password of login user
required: true
default:
True
default:
'yes'
login_tenant_name:
description:
- The tenant name of the login user
required: true
default:
True
default:
'yes'
auth_url:
description:
- The keystone url for authentication
...
...
library/cloud/nova_keypair
View file @
858efd00
...
...
@@ -38,12 +38,12 @@ options:
description:
- Password of login user
required: true
default:
True
default:
'yes'
login_tenant_name:
description:
- The tenant name of the login user
required: true
default:
True
default:
'yes'
auth_url:
description:
- The keystone url for authentication
...
...
library/cloud/quantum_floating_ip
View file @
858efd00
...
...
@@ -40,12 +40,12 @@ options:
description:
- Password of login user
required: true
default:
True
default:
'yes'
login_tenant_name:
description:
- The tenant name of the login user
required: true
default:
True
default:
'yes'
auth_url:
description:
- The keystone url for authentication
...
...
@@ -160,12 +160,12 @@ def _create_floating_ip(quantum, module, port_id, net_id):
try
:
result
=
quantum
.
create_floatingip
({
'floatingip'
:
kwargs
})
except
Exception
as
e
:
module
.
fail_json
(
msg
=
"There was an error in updating the floating ip address:
%
s"
%
e
.
message
)
module
.
exit_json
(
changed
=
True
,
result
=
result
,
public_ip
=
result
[
'floatingip'
][
'floating_ip_address'
]
)
module
.
fail_json
(
msg
=
"There was an error in updating the floating ip address:
%
s"
%
e
.
message
)
module
.
exit_json
(
changed
=
True
,
result
=
result
,
public_ip
=
result
[
'floatingip'
][
'floating_ip_address'
]
)
def
_get_net_id
(
quantum
,
module
):
kwargs
=
{
'name'
:
module
.
params
[
'network_name'
],
'name'
:
module
.
params
[
'network_name'
],
}
try
:
networks
=
quantum
.
list_networks
(
**
kwargs
)
...
...
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