diff options
author | Matt Clay <mclay@redhat.com> | 2020-02-12 03:00:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-12 03:00:01 +0100 |
commit | 9788daf13b62853f04e8bc2aa3ca2b778eb186e6 (patch) | |
tree | e70f90f7d3943a1311b6fbd4a0cbd6df989bfec5 /test/integration/targets/lookup_lines/tasks | |
parent | Rename kubevirt inventory plugin test. (#67326) (diff) | |
download | ansible-9788daf13b62853f04e8bc2aa3ca2b778eb186e6.tar.xz ansible-9788daf13b62853f04e8bc2aa3ca2b778eb186e6.zip |
Split up more lookup integration tests. (#67328)
Diffstat (limited to 'test/integration/targets/lookup_lines/tasks')
-rw-r--r-- | test/integration/targets/lookup_lines/tasks/main.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/integration/targets/lookup_lines/tasks/main.yml b/test/integration/targets/lookup_lines/tasks/main.yml new file mode 100644 index 0000000000..f864d72098 --- /dev/null +++ b/test/integration/targets/lookup_lines/tasks/main.yml @@ -0,0 +1,13 @@ +- name: test with_lines + #shell: echo "{{ item }}" + set_fact: "{{ item }}=set" + with_lines: for i in $(seq 1 5); do echo "l$i" ; done; + +- name: verify with_lines results + assert: + that: + - "l1 == 'set'" + - "l2 == 'set'" + - "l3 == 'set'" + - "l4 == 'set'" + - "l5 == 'set'" |