2018-04-02 08:54:48 +00:00
|
|
|
- hosts: all
|
|
|
|
tasks:
|
2018-04-04 19:01:23 +00:00
|
|
|
- name: integration/runner__custom_perl_json_args_module.yml
|
|
|
|
custom_perl_json_args_module:
|
2018-04-02 08:54:48 +00:00
|
|
|
foo: true
|
2018-04-04 19:01:23 +00:00
|
|
|
with_sequence: start=1 end={{end|default(1)}}
|
|
|
|
register: out
|
|
|
|
|
|
|
|
- assert:
|
|
|
|
that: |
|
|
|
|
(not out.changed) and
|
|
|
|
(not out.results[0].changed) and
|
|
|
|
out.results[0].input[0].foo and
|
|
|
|
out.results[0].message == 'I am a perl script! Here is my input.'
|