From cdb14348098f65a873ed2715035c91907e364811 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Sun, 27 Jan 2019 06:12:06 +0000 Subject: [PATCH] tests: hopefully fix this dumb test for the final time --- .../integration/runner/_etc_environment_global.yml | 8 ++++++-- tests/ansible/integration/runner/etc_environment.yml | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) 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"