diff --git a/tests/ansible/integration/runner/_etc_environment_global.yml b/tests/ansible/integration/runner/_etc_environment_global.yml index dee4bca9..2d22b952 100644 --- a/tests/ansible/integration/runner/_etc_environment_global.yml +++ b/tests/ansible/integration/runner/_etc_environment_global.yml @@ -17,8 +17,10 @@ MAGIC_ETC_ENV=555 become: true -- mitogen_shutdown_all: - when: not is_mitogen +- meta: reset_connection + +#- mitogen_shutdown_all: + #when: not is_mitogen - shell: echo $MAGIC_ETC_ENV register: echo @@ -31,6 +33,8 @@ state: absent become: true +- meta: reset_connection + - mitogen_shutdown_all: when: not is_mitogen diff --git a/tests/ansible/integration/runner/etc_environment.yml b/tests/ansible/integration/runner/etc_environment.yml index ecdb8aa6..df15bbdb 100644 --- a/tests/ansible/integration/runner/etc_environment.yml +++ b/tests/ansible/integration/runner/etc_environment.yml @@ -10,6 +10,6 @@ - include: _etc_environment_user.yml when: ansible_system == "Linux" and is_mitogen - - include: _etc_environment_global.yml + - include_tasks: _etc_environment_global.yml # Don't destroy laptops. when: ansible_virtualization_type == "docker"