Skip to content

Commit 70cb657

Browse files
committed
Add sudo to xpra commands, since they are user-specific.
1 parent 0b10015 commit 70cb657

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

roles/fidimag/tasks/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@
2121
shell: xpra start :{{ item }} && xpra list
2222
with_items: XPRA_DISPLAYS
2323
ignore_errors: yes
24+
sudo: yes
2425

2526
- name: Obtain the display ID of one successful live display.
2627
shell: xpra list | grep -m 1 "LIVE.*" | grep -Go [0-9]*$
2728
register: successful_display
29+
sudo: yes
2830

2931
# Finally, run some tests.
3032

@@ -42,3 +44,4 @@
4244
command: xpra stop :{{ item }}
4345
with_items: XPRA_DISPLAYS
4446
ignore_errors: yes
47+
sudo: yes

0 commit comments

Comments
 (0)