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
f0859a6d
Commit
f0859a6d
authored
Jul 24, 2014
by
James Cammarata
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'ansible-stage/new_arg_splitting' into new_arg_splitting
parents
d692f7f6
3adddf48
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletions
+10
-1
test/integration/Makefile
+1
-0
test/integration/roles/test_bad_parsing/tasks/main.yml
+9
-1
No files found.
test/integration/Makefile
View file @
f0859a6d
...
@@ -22,6 +22,7 @@ parsing:
...
@@ -22,6 +22,7 @@ parsing:
ansible-playbook bad_parsing.yml
-i
$(INVENTORY)
-e
@
$(VARS_FILE)
$(CREDENTIALS_ARG)
-vvv
$(TEST_FLAGS)
--tags
common,scenario1
;
[
$$
?
-eq
3
]
ansible-playbook bad_parsing.yml
-i
$(INVENTORY)
-e
@
$(VARS_FILE)
$(CREDENTIALS_ARG)
-vvv
$(TEST_FLAGS)
--tags
common,scenario1
;
[
$$
?
-eq
3
]
ansible-playbook bad_parsing.yml
-i
$(INVENTORY)
-e
@
$(VARS_FILE)
$(CREDENTIALS_ARG)
-vvv
$(TEST_FLAGS)
--tags
common,scenario2
;
[
$$
?
-eq
3
]
ansible-playbook bad_parsing.yml
-i
$(INVENTORY)
-e
@
$(VARS_FILE)
$(CREDENTIALS_ARG)
-vvv
$(TEST_FLAGS)
--tags
common,scenario2
;
[
$$
?
-eq
3
]
ansible-playbook bad_parsing.yml
-i
$(INVENTORY)
-e
@
$(VARS_FILE)
$(CREDENTIALS_ARG)
-vvv
$(TEST_FLAGS)
--tags
common,scenario3
;
[
$$
?
-eq
3
]
ansible-playbook bad_parsing.yml
-i
$(INVENTORY)
-e
@
$(VARS_FILE)
$(CREDENTIALS_ARG)
-vvv
$(TEST_FLAGS)
--tags
common,scenario3
;
[
$$
?
-eq
3
]
ansible-playbook bad_parsing.yml
-i
$(INVENTORY)
-e
@
$(VARS_FILE)
$(CREDENTIALS_ARG)
-vvv
$(TEST_FLAGS)
--tags
common,scenario4
;
[
$$
?
-eq
3
]
ansible-playbook good_parsing.yml
-i
$(INVENTORY)
-e
@
$(VARS_FILE)
$(CREDENTIALS_ARG)
-v
$(TEST_FLAGS)
ansible-playbook good_parsing.yml
-i
$(INVENTORY)
-e
@
$(VARS_FILE)
$(CREDENTIALS_ARG)
-v
$(TEST_FLAGS)
non_destructive
:
non_destructive
:
...
...
test/integration/roles/test_bad_parsing/tasks/main.yml
View file @
f0859a6d
...
@@ -20,8 +20,9 @@
...
@@ -20,8 +20,9 @@
# otherwise ansible stops at the first one and we want to ensure STOP conditions for each
# otherwise ansible stops at the first one and we want to ensure STOP conditions for each
-
set_fact
:
-
set_fact
:
test_file
:
"
.
/ansible_test_file"
# FIXME, use set tempdir
test_file
:
"
{{
output_dir
}}
/ansible_test_file"
# FIXME, use set tempdir
test_input
:
"
owner=test"
test_input
:
"
owner=test"
bad_var
:
"
{{
output_dir
}}'
owner=test"
chdir
:
"
mom
chdir=/tmp"
chdir
:
"
mom
chdir=/tmp"
tags
:
common
tags
:
common
...
@@ -43,3 +44,10 @@
...
@@ -43,3 +44,10 @@
failed_when
:
False
failed_when
:
False
tags
:
scenario3
tags
:
scenario3
-
name
:
test that we can't go all Little Bobby Droptables on a quoted var to add more
file
:
"
name={{
bad_var
}}"
failed_when
:
False
tags
:
scenario4
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