From 44aef347cbb1abae1a781ddec8b5eb13f1e4e792 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Tue, 14 Jul 2015 08:05:57 -0400 Subject: [PATCH] enabled good parsing tests in parsing target fixed test_good_parsing role added raw duplicate parameters to test_good_parsing --- test/integration/Makefile | 2 +- test/integration/roles/test_good_parsing/tasks/main.yml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/test/integration/Makefile b/test/integration/Makefile index c197bd4153..e6a85acd6b 100644 --- a/test/integration/Makefile +++ b/test/integration/Makefile @@ -29,7 +29,7 @@ parsing: #ansible-playbook bad_parsing.yml -i $(INVENTORY) -e @$(VARS_FILE) $(CREDENTIALS_ARG) -vvv $(TEST_FLAGS) --tags prepare,common,scenario3; [ $$? -eq 4 ] #ansible-playbook bad_parsing.yml -i $(INVENTORY) -e @$(VARS_FILE) $(CREDENTIALS_ARG) -vvv $(TEST_FLAGS) --tags prepare,common,scenario4; [ $$? -eq 4 ] #ansible-playbook bad_parsing.yml -i $(INVENTORY) -e @$(VARS_FILE) $(CREDENTIALS_ARG) -vvv $(TEST_FLAGS) --tags prepare,common,scenario5; [ $$? -eq 4 ] - #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) echo "skipping for now..." includes: diff --git a/test/integration/roles/test_good_parsing/tasks/main.yml b/test/integration/roles/test_good_parsing/tasks/main.yml index 482d0efac5..03afb99295 100644 --- a/test/integration/roles/test_good_parsing/tasks/main.yml +++ b/test/integration/roles/test_good_parsing/tasks/main.yml @@ -97,6 +97,9 @@ that: result.cmd == "echo foo=bar foo=bar" +- name: raw duplicates, noop + raw: /bin/true foo=bar foo=bar + - name: multi-line inline shell commands (should use script module but hey) are a thing shell: "{{ multi_line }}" register: result