diff --git a/tests/ansible/integration/runner/_etc_environment_global.yml b/tests/ansible/integration/runner/_etc_environment_global.yml index e24a038a..db7961d1 100644 --- a/tests/ansible/integration/runner/_etc_environment_global.yml +++ b/tests/ansible/integration/runner/_etc_environment_global.yml @@ -17,6 +17,9 @@ MAGIC_ETC_ENV=555 become: true +- include_tasks: _reset_conn.yml + when: not is_mitogen + - shell: echo $MAGIC_ETC_ENV register: echo @@ -28,6 +31,9 @@ state: absent become: true +- include_tasks: _reset_conn.yml + when: not is_mitogen + - shell: echo $MAGIC_ETC_ENV register: echo diff --git a/tests/ansible/integration/runner/_reset_conn.yml b/tests/ansible/integration/runner/_reset_conn.yml new file mode 100644 index 00000000..30f1b0c0 --- /dev/null +++ b/tests/ansible/integration/runner/_reset_conn.yml @@ -0,0 +1,2 @@ + +- meta: reset_connection