@ -1,6 +1,7 @@
# Verify the behaviour of _low_level_execute_command().
- hosts: all
any_errors_fatal: true
tasks:
- name: integration/action__low_level_execute_command.yml
assert:
@ -1,4 +1,5 @@
- name: simulate long running op (3 sec), wait for up to 5 sec, poll every 1 sec
command: /bin/sleep 2
@ -5,6 +5,7 @@
#
- name: "without -E"
become: true
@ -15,6 +16,7 @@
that: "out.stdout == ''"
become_flags: -E
- name: "with -E"
# delegate_to, no sudo
# Ensure environment: is preserved during call.
- shell: echo $SOME_ENV
environment:
gather_facts: true
- name: integration/runner__builtin_command_module.yml
- name: integration/runner__custom_bash_old_style_module.yml
custom_bash_old_style_module:
- name: integration/runner__custom_bash_want_json_module.yml
custom_bash_want_json_module:
- name: integration/runner__custom_binary_producing_json.yml
custom_binary_producing_json:
@ -7,6 +7,10 @@
ignore_errors: true
register: out
- assert:
that: |
out.failed and
@ -7,6 +7,9 @@
- name: integration/runner__custom_perl_json_args_module.yml
custom_perl_json_args_module:
- name: integration/runner__custom_perl_want_json_module.yml
custom_perl_want_json_module:
- name: integration/runner__custom_python_json_args_module.yml
custom_python_json_args_module:
- name: integration/runner__custom_python_new_style_module.yml
custom_python_new_style_module:
- name: integration/runner__custom_python_want_json_module.yml
custom_python_want_json_module:
@ -4,6 +4,7 @@
# remotely.
- name: integration/runner__remote_tmp.yml