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
29724f35
Commit
29724f35
authored
Aug 19, 2015
by
Brian Coca
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #12012 from resmo/for-ansible
cloudstack: fixes and consistency change
parents
fd361c7f
9d3577a7
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
6 deletions
+8
-6
lib/ansible/module_utils/cloudstack.py
+2
-2
test/integration/cloudstack.yml
+2
-0
test/integration/roles/test_cs_affinitygroup/tasks/main.yml
+1
-1
test/integration/roles/test_cs_instancegroup/tasks/main.yml
+1
-1
test/integration/roles/test_cs_securitygroup/tasks/main.yml
+1
-1
test/integration/roles/test_cs_sshkeypair/tasks/main.yml
+1
-1
No files found.
lib/ansible/module_utils/cloudstack.py
View file @
29724f35
...
@@ -56,8 +56,8 @@ class AnsibleCloudStack(object):
...
@@ -56,8 +56,8 @@ class AnsibleCloudStack(object):
'project'
:
'project'
,
'project'
:
'project'
,
'account'
:
'account'
,
'account'
:
'account'
,
'domain'
:
'domain'
,
'domain'
:
'domain'
,
'displaytext'
:
'displaytext'
,
'displaytext'
:
'display
_
text'
,
'displayname'
:
'displayname'
,
'displayname'
:
'display
_
name'
,
'description'
:
'description'
,
'description'
:
'description'
,
}
}
...
...
test/integration/cloudstack.yml
View file @
29724f35
...
@@ -4,6 +4,8 @@
...
@@ -4,6 +4,8 @@
gather_facts
:
no
gather_facts
:
no
tags
:
tags
:
-
cloudstack
-
cloudstack
vars
:
cs_resource_prefix
:
"
cs{{
resource_prefix
|
default('')
}}"
roles
:
roles
:
-
{
role
:
test_cs_sshkeypair
,
tags
:
test_cs_sshkeypair
}
-
{
role
:
test_cs_sshkeypair
,
tags
:
test_cs_sshkeypair
}
-
{
role
:
test_cs_affinitygroup
,
tags
:
test_cs_affinitygroup
}
-
{
role
:
test_cs_affinitygroup
,
tags
:
test_cs_affinitygroup
}
...
...
test/integration/roles/test_cs_affinitygroup/tasks/main.yml
View file @
29724f35
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
assert
:
assert
:
that
:
that
:
-
ag|failed
-
ag|failed
-
ag.msg == "missing required arguments
:
name
"
-
"
ag.msg
==
'missing
required
arguments:
name'
"
-
name
:
test present affinity group
-
name
:
test present affinity group
cs_affinitygroup
:
name={{ cs_resource_prefix }}_ag
cs_affinitygroup
:
name={{ cs_resource_prefix }}_ag
...
...
test/integration/roles/test_cs_instancegroup/tasks/main.yml
View file @
29724f35
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
assert
:
assert
:
that
:
that
:
-
ig|failed
-
ig|failed
-
ig.msg == "missing required arguments
:
name
"
-
"
ig.msg
==
'missing
required
arguments:
name'
"
-
name
:
test present instance group
-
name
:
test present instance group
cs_instancegroup
:
name={{ cs_resource_prefix }}_ig
cs_instancegroup
:
name={{ cs_resource_prefix }}_ig
...
...
test/integration/roles/test_cs_securitygroup/tasks/main.yml
View file @
29724f35
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
assert
:
assert
:
that
:
that
:
-
sg|failed
-
sg|failed
-
sg.msg == "missing required arguments
:
name
"
-
"
sg.msg
==
'missing
required
arguments:
name'
"
-
name
:
test present security group
-
name
:
test present security group
cs_securitygroup
:
name={{ cs_resource_prefix }}_sg
cs_securitygroup
:
name={{ cs_resource_prefix }}_sg
...
...
test/integration/roles/test_cs_sshkeypair/tasks/main.yml
View file @
29724f35
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
assert
:
assert
:
that
:
that
:
-
sshkey|failed
-
sshkey|failed
-
sshkey.msg == "missing required arguments
:
name
"
-
"
sshkey.msg
==
'missing
required
arguments:
name'
"
-
name
:
test ssh key creation
-
name
:
test ssh key creation
cs_sshkeypair
:
name={{ cs_resource_prefix }}-sshkey
cs_sshkeypair
:
name={{ cs_resource_prefix }}-sshkey
...
...
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