19 lines
445 B
YAML
19 lines
445 B
YAML
|
- name: integration/runner/custom_script_interpreter.yml
|
||
|
hosts: all
|
||
|
any_errors_fatal: true
|
||
|
tasks:
|
||
|
|
||
|
- custom_bash_old_style_module:
|
||
|
foo: true
|
||
|
with_sequence: start=1 end={{end|default(1)}}
|
||
|
register: out
|
||
|
vars:
|
||
|
ansible_bash_interpreter: /bin/bash
|
||
|
|
||
|
- assert:
|
||
|
that: |
|
||
|
(not out.changed) and
|
||
|
(not out.results[0].changed) and
|
||
|
out.results[0].msg == 'Here is my input'
|
||
|
|