diff --git a/tests/ansible/integration/connection/disconnect_during_module.yml b/tests/ansible/integration/connection/disconnect_during_module.yml index d72062e9..eda956de 100644 --- a/tests/ansible/integration/connection/disconnect_during_module.yml +++ b/tests/ansible/integration/connection/disconnect_during_module.yml @@ -13,6 +13,7 @@ vars: ansible_python_interpreter: "{{ ansible_playbook_python }}" environment: + ANSIBLE_STRATEGY: "{{ lookup('env', 'ANSIBLE_STRATEGY') | mandatory }}" ANSIBLE_VERBOSITY: "{{ ansible_verbosity }}" command: | ansible-playbook diff --git a/tests/ansible/integration/runner/missing_module.yml b/tests/ansible/integration/runner/missing_module.yml index 8e732477..4d3f6823 100644 --- a/tests/ansible/integration/runner/missing_module.yml +++ b/tests/ansible/integration/runner/missing_module.yml @@ -5,6 +5,7 @@ - name: Run missing_module connection: local environment: + ANSIBLE_STRATEGY: "{{ lookup('env', 'ANSIBLE_STRATEGY') | mandatory }}" ANSIBLE_VERBOSITY: "{{ ansible_verbosity }}" vars: ansible_python_interpreter: "{{ ansible_playbook_python }}" diff --git a/tests/ansible/integration/ssh/timeouts.yml b/tests/ansible/integration/ssh/timeouts.yml index fc581a3b..afc5e5a2 100644 --- a/tests/ansible/integration/ssh/timeouts.yml +++ b/tests/ansible/integration/ssh/timeouts.yml @@ -14,6 +14,7 @@ connection: local environment: ANSIBLE_SSH_TIMEOUT: 10 + ANSIBLE_STRATEGY: "{{ lookup('env', 'ANSIBLE_STRATEGY') | mandatory }}" ANSIBLE_VERBOSITY: "{{ ansible_verbosity }}" vars: ansible_python_interpreter: "{{ ansible_playbook_python }}" diff --git a/tests/ansible/integration/stub_connections/setns_lxc.yml b/tests/ansible/integration/stub_connections/setns_lxc.yml index 709f385c..584a6806 100644 --- a/tests/ansible/integration/stub_connections/setns_lxc.yml +++ b/tests/ansible/integration/stub_connections/setns_lxc.yml @@ -15,6 +15,7 @@ - name: Run stub-lxc-info.py environment: + ANSIBLE_STRATEGY: "{{ lookup('env', 'ANSIBLE_STRATEGY') | mandatory }}" ANSIBLE_VERBOSITY: "{{ ansible_verbosity }}" command: | sudo -nE "{{lookup('env', 'VIRTUAL_ENV')}}/bin/ansible" diff --git a/tests/ansible/integration/stub_connections/setns_lxd.yml b/tests/ansible/integration/stub_connections/setns_lxd.yml index 627b29f9..2e07aca3 100644 --- a/tests/ansible/integration/stub_connections/setns_lxd.yml +++ b/tests/ansible/integration/stub_connections/setns_lxd.yml @@ -15,6 +15,7 @@ - name: Run ansible stub-lxc.py environment: + ANSIBLE_STRATEGY: "{{ lookup('env', 'ANSIBLE_STRATEGY') | mandatory }}" ANSIBLE_VERBOSITY: "{{ ansible_verbosity }}" command: | sudo -nE "{{lookup('env', 'VIRTUAL_ENV')}}/bin/ansible" diff --git a/tests/ansible/regression/become_test.yml b/tests/ansible/regression/become_test.yml index 5af2e123..e4984779 100644 --- a/tests/ansible/regression/become_test.yml +++ b/tests/ansible/regression/become_test.yml @@ -2,7 +2,6 @@ hosts: test-targets:&linux_containers become: true become_user: mitogen__pw_required - strategy: mitogen_linear tasks: - command: whoami changed_when: false diff --git a/tests/ansible/regression/issue_1087__template_streamerror.yml b/tests/ansible/regression/issue_1087__template_streamerror.yml index ffb565ce..94d8ae31 100644 --- a/tests/ansible/regression/issue_1087__template_streamerror.yml +++ b/tests/ansible/regression/issue_1087__template_streamerror.yml @@ -20,6 +20,7 @@ vars: ansible_python_interpreter: "{{ ansible_playbook_python }}" environment: + ANSIBLE_STRATEGY: "{{ lookup('env', 'ANSIBLE_STRATEGY') | mandatory }}" ANSIBLE_VERBOSITY: "{{ ansible_verbosity }}" command: cmd: > diff --git a/tests/ansible/regression/issue_952__ask_become_pass.yml b/tests/ansible/regression/issue_952__ask_become_pass.yml index 17163a94..33c68d0a 100644 --- a/tests/ansible/regression/issue_952__ask_become_pass.yml +++ b/tests/ansible/regression/issue_952__ask_become_pass.yml @@ -9,6 +9,7 @@ vars: ansible_python_interpreter: "{{ ansible_playbook_python }}" environment: + ANSIBLE_STRATEGY: "{{ lookup('env', 'ANSIBLE_STRATEGY') | mandatory }}" ANSIBLE_VERBOSITY: "{{ ansible_verbosity }}" expect: command: >