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
3ccc2ae2
Commit
3ccc2ae2
authored
Apr 30, 2015
by
Toshio Kuratomi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix include test to keep type
parent
974731be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletions
+17
-1
test/integration/roles/test_includes/tasks/main.yml
+17
-1
No files found.
test/integration/roles/test_includes/tasks/main.yml
View file @
3ccc2ae2
...
...
@@ -26,8 +26,9 @@
-
"
cb
==
'2'"
-
"
cc
==
'3'"
# Fact takes precedence over include param as fact is host-specific
-
set_fact
:
a
:
101
a
:
101
b
:
102
c
:
103
...
...
@@ -36,6 +37,21 @@
-
name
:
verify variable include params
assert
:
that
:
-
"
ca
==
101"
-
"
cb
==
102"
-
"
cc
==
103"
# Test that strings are not turned into numbers
-
set_fact
:
a
:
"
101"
b
:
"
102"
c
:
"
103"
-
include
:
included_task1.yml a={{a}} b={{b}} c=103
-
name
:
verify variable include params
assert
:
that
:
-
"
ca
==
'101'"
-
"
cb
==
'102'"
-
"
cc
==
'103'"
...
...
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