- hosts: all any_errors_fatal: true tasks: - name: integration/runner__custom_bash_old_style_module.yml custom_bash_old_style_module: foo: true 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].msg == 'Here is my input'