tests: Mark or avoid sudo tasks on localhost

pull/949/head
Alex Willmer 2 years ago
parent f070767dad
commit 8e79488768

@ -52,6 +52,8 @@
with_items:
- /tmp/bigfile.out
- /tmp/bigbigfile.out
tags:
- requires_local_sudo
- name: Copy 32MiB file via localhost sudo
delegate_to: localhost
@ -59,6 +61,8 @@
copy:
src: /tmp/bigfile.in
dest: /tmp/bigfile.out
tags:
- requires_local_sudo
- name: Copy 320MiB file via localhost sudo
delegate_to: localhost
@ -66,6 +70,8 @@
copy:
src: /tmp/bigbigfile.in
dest: /tmp/bigbigfile.out
tags:
- requires_local_sudo
tags:
- resource_intensive

@ -25,6 +25,7 @@
- file:
path: /tmp/fetch-out
state: absent
become: false
delegate_to: localhost
run_once: true
when:

Loading…
Cancel
Save