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!
This commit is contained in:
parent
b6840aab75
commit
b0e7c1a315
|
@ -17,6 +17,9 @@
|
||||||
MAGIC_ETC_ENV=555
|
MAGIC_ETC_ENV=555
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
- include_tasks: _reset_conn.yml
|
||||||
|
when: not is_mitogen
|
||||||
|
|
||||||
- shell: echo $MAGIC_ETC_ENV
|
- shell: echo $MAGIC_ETC_ENV
|
||||||
register: echo
|
register: echo
|
||||||
|
|
||||||
|
@ -28,6 +31,9 @@
|
||||||
state: absent
|
state: absent
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
- include_tasks: _reset_conn.yml
|
||||||
|
when: not is_mitogen
|
||||||
|
|
||||||
- shell: echo $MAGIC_ETC_ENV
|
- shell: echo $MAGIC_ETC_ENV
|
||||||
register: echo
|
register: echo
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
- meta: reset_connection
|
Loading…
Reference in New Issue