diff --git a/tests/ansible/integration/action__low_level_execute_command.yml b/tests/ansible/integration/action__low_level_execute_command.yml index c938537e..fd0217bc 100644 --- a/tests/ansible/integration/action__low_level_execute_command.yml +++ b/tests/ansible/integration/action__low_level_execute_command.yml @@ -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: diff --git a/tests/ansible/integration/async_polling.yml b/tests/ansible/integration/async_polling.yml index 20aa211c..b08394a7 100644 --- a/tests/ansible/integration/async_polling.yml +++ b/tests/ansible/integration/async_polling.yml @@ -1,4 +1,5 @@ - hosts: all + any_errors_fatal: true tasks: - name: simulate long running op (3 sec), wait for up to 5 sec, poll every 1 sec command: /bin/sleep 2 diff --git a/tests/ansible/integration/playbook__become_flags.yml b/tests/ansible/integration/playbook__become_flags.yml index 74ebf059..61148169 100644 --- a/tests/ansible/integration/playbook__become_flags.yml +++ b/tests/ansible/integration/playbook__become_flags.yml @@ -5,6 +5,7 @@ # - hosts: all + any_errors_fatal: true tasks: - name: "without -E" become: true @@ -15,6 +16,7 @@ that: "out.stdout == ''" - hosts: all + any_errors_fatal: true become_flags: -E tasks: - name: "with -E" diff --git a/tests/ansible/integration/playbook__delegate_to.yml b/tests/ansible/integration/playbook__delegate_to.yml index dae2afd8..beb8bdc3 100644 --- a/tests/ansible/integration/playbook__delegate_to.yml +++ b/tests/ansible/integration/playbook__delegate_to.yml @@ -1,4 +1,5 @@ - hosts: all + any_errors_fatal: true tasks: # # delegate_to, no sudo diff --git a/tests/ansible/integration/playbook__environment.yml b/tests/ansible/integration/playbook__environment.yml index fd70174f..8d956d49 100644 --- a/tests/ansible/integration/playbook__environment.yml +++ b/tests/ansible/integration/playbook__environment.yml @@ -1,6 +1,7 @@ # Ensure environment: is preserved during call. - hosts: all + any_errors_fatal: true tasks: - shell: echo $SOME_ENV environment: diff --git a/tests/ansible/integration/runner__builtin_command_module.yml b/tests/ansible/integration/runner__builtin_command_module.yml index 171207d0..ca94a604 100644 --- a/tests/ansible/integration/runner__builtin_command_module.yml +++ b/tests/ansible/integration/runner__builtin_command_module.yml @@ -1,4 +1,5 @@ - hosts: all + any_errors_fatal: true gather_facts: true tasks: - name: integration/runner__builtin_command_module.yml diff --git a/tests/ansible/integration/runner__custom_bash_old_style_module.yml b/tests/ansible/integration/runner__custom_bash_old_style_module.yml index 34b7a5b8..3aa9fe52 100644 --- a/tests/ansible/integration/runner__custom_bash_old_style_module.yml +++ b/tests/ansible/integration/runner__custom_bash_old_style_module.yml @@ -1,4 +1,5 @@ - hosts: all + any_errors_fatal: true tasks: - name: integration/runner__custom_bash_old_style_module.yml custom_bash_old_style_module: diff --git a/tests/ansible/integration/runner__custom_bash_want_json_module.yml b/tests/ansible/integration/runner__custom_bash_want_json_module.yml index 7933ba65..85e83e3e 100644 --- a/tests/ansible/integration/runner__custom_bash_want_json_module.yml +++ b/tests/ansible/integration/runner__custom_bash_want_json_module.yml @@ -1,4 +1,5 @@ - hosts: all + any_errors_fatal: true tasks: - name: integration/runner__custom_bash_want_json_module.yml custom_bash_want_json_module: diff --git a/tests/ansible/integration/runner__custom_binary_producing_json.yml b/tests/ansible/integration/runner__custom_binary_producing_json.yml index c04a7552..559d89b1 100644 --- a/tests/ansible/integration/runner__custom_binary_producing_json.yml +++ b/tests/ansible/integration/runner__custom_binary_producing_json.yml @@ -1,4 +1,5 @@ - hosts: all + any_errors_fatal: true tasks: - name: integration/runner__custom_binary_producing_json.yml custom_binary_producing_json: diff --git a/tests/ansible/integration/runner__custom_binary_producing_junk.yml b/tests/ansible/integration/runner__custom_binary_producing_junk.yml index dbf734ee..d9614e7d 100644 --- a/tests/ansible/integration/runner__custom_binary_producing_junk.yml +++ b/tests/ansible/integration/runner__custom_binary_producing_junk.yml @@ -7,6 +7,10 @@ ignore_errors: true register: out + +- hosts: all + any_errors_fatal: true + tasks: - assert: that: | out.failed and diff --git a/tests/ansible/integration/runner__custom_binary_single_null.yml b/tests/ansible/integration/runner__custom_binary_single_null.yml index 9c468f27..c521e3b2 100644 --- a/tests/ansible/integration/runner__custom_binary_single_null.yml +++ b/tests/ansible/integration/runner__custom_binary_single_null.yml @@ -7,6 +7,9 @@ ignore_errors: true register: out +- hosts: all + any_errors_fatal: true + tasks: - assert: that: | out.failed and diff --git a/tests/ansible/integration/runner__custom_perl_json_args_module.yml b/tests/ansible/integration/runner__custom_perl_json_args_module.yml index d0ac467a..1777798a 100644 --- a/tests/ansible/integration/runner__custom_perl_json_args_module.yml +++ b/tests/ansible/integration/runner__custom_perl_json_args_module.yml @@ -1,4 +1,5 @@ - hosts: all + any_errors_fatal: true tasks: - name: integration/runner__custom_perl_json_args_module.yml custom_perl_json_args_module: diff --git a/tests/ansible/integration/runner__custom_perl_want_json_module.yml b/tests/ansible/integration/runner__custom_perl_want_json_module.yml index 0eaf7768..dfe0894c 100644 --- a/tests/ansible/integration/runner__custom_perl_want_json_module.yml +++ b/tests/ansible/integration/runner__custom_perl_want_json_module.yml @@ -1,4 +1,5 @@ - hosts: all + any_errors_fatal: true tasks: - name: integration/runner__custom_perl_want_json_module.yml custom_perl_want_json_module: diff --git a/tests/ansible/integration/runner__custom_python_json_args_module.yml b/tests/ansible/integration/runner__custom_python_json_args_module.yml index 377043b6..027280df 100644 --- a/tests/ansible/integration/runner__custom_python_json_args_module.yml +++ b/tests/ansible/integration/runner__custom_python_json_args_module.yml @@ -1,4 +1,5 @@ - hosts: all + any_errors_fatal: true tasks: - name: integration/runner__custom_python_json_args_module.yml custom_python_json_args_module: diff --git a/tests/ansible/integration/runner__custom_python_new_style_module.yml b/tests/ansible/integration/runner__custom_python_new_style_module.yml index b01733e1..fce315ea 100644 --- a/tests/ansible/integration/runner__custom_python_new_style_module.yml +++ b/tests/ansible/integration/runner__custom_python_new_style_module.yml @@ -1,4 +1,5 @@ - hosts: all + any_errors_fatal: true tasks: - name: integration/runner__custom_python_new_style_module.yml custom_python_new_style_module: diff --git a/tests/ansible/integration/runner__custom_python_want_json_module.yml b/tests/ansible/integration/runner__custom_python_want_json_module.yml index 642ac81a..82dc2efd 100644 --- a/tests/ansible/integration/runner__custom_python_want_json_module.yml +++ b/tests/ansible/integration/runner__custom_python_want_json_module.yml @@ -1,4 +1,5 @@ - hosts: all + any_errors_fatal: true tasks: - name: integration/runner__custom_python_want_json_module.yml custom_python_want_json_module: diff --git a/tests/ansible/integration/runner__remote_tmp.yml b/tests/ansible/integration/runner__remote_tmp.yml index 47c55b99..dfa85ba4 100644 --- a/tests/ansible/integration/runner__remote_tmp.yml +++ b/tests/ansible/integration/runner__remote_tmp.yml @@ -4,6 +4,7 @@ # remotely. # - hosts: all + any_errors_fatal: true gather_facts: true tasks: - name: integration/runner__remote_tmp.yml