# https://github.com/dw/mitogen/issues/291 - name: integration/runner/custom_bash_hashbang_argument.yml hosts: test-targets 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: "/usr/bin/env RUN_VIA_ENV=yes bash" - assert: that: | (not out.changed) and (not out.results[0].changed) and out.results[0].msg == 'Here is my input' and out.results[0].run_via_env == "yes" fail_msg: out={{out}} tags: - custom_bash_hashbang_argument