tests: fix /etc/environment test on vanilla

Use "meta: reset_connection" to ensure /etc/environment is reloaded.
Looks like this entire feature can be ripped out!
issue510
David Wilson 6 years ago
parent b6840aab75
commit b0e7c1a315

@ -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

Loading…
Cancel
Save