mirror of https://github.com/ansible/ansible.git
Fix parsing tests so that they all run
parent
b94e2a1f4e
commit
bbda86ad0a
@ -0,0 +1,5 @@
|
|||||||
|
- name: test that we cannot insert arguments
|
||||||
|
file: path={{ test_file }} {{ test_input }}
|
||||||
|
failed_when: False # ignore the module, just test the parser
|
||||||
|
tags: scenario1
|
||||||
|
|
@ -0,0 +1,5 @@
|
|||||||
|
- name: test that we cannot duplicate arguments
|
||||||
|
file: path={{ test_file }} owner=test2 {{ test_input }}
|
||||||
|
failed_when: False # ignore the module, just test the parser
|
||||||
|
tags: scenario2
|
||||||
|
|
@ -0,0 +1,5 @@
|
|||||||
|
- name: test that we can't do this for the shell module
|
||||||
|
shell: echo hi {{ chdir }}
|
||||||
|
failed_when: False
|
||||||
|
tags: scenario3
|
||||||
|
|
@ -0,0 +1,5 @@
|
|||||||
|
- 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
|
||||||
|
|
Loading…
Reference in New Issue