Skip to content

Commit 147ec8c

Browse files
committed
Don't use sudo with rsync: not necessary since we run as root.
1 parent 13d488f commit 147ec8c

File tree

4 files changed

+0
-8
lines changed

4 files changed

+0
-8
lines changed

icpc-wf/ansible/domserver.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
dest: "{{DJ_DIR}}/webapp/public"
5757
owner: no
5858
use_ssh_args: true
59-
rsync_path: sudo rsync
6059

6160
- name: Add documentation in DOMjudge team interface
6261
copy:

icpc-wf/ansible/roles/domjudge_checkout/tasks/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
dest: "{{DJ_DIR}}/lib/vendor/"
2828
owner: no
2929
use_ssh_args: true
30-
rsync_path: sudo rsync
3130
when: libvendor.stat.exists
3231

3332
- name: fix ownership of lib/vendor

icpc-wf/ansible/roles/domlogo/tasks/main.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,13 @@
2121
dest: /home/domjudge/.local/
2222
owner: no
2323
use_ssh_args: true
24-
rsync_path: sudo rsync
2524

2625
- name: install domlogo images
2726
synchronize:
2827
src: images
2928
dest: "{{DJ_DIR}}"
3029
owner: no
3130
use_ssh_args: true
32-
rsync_path: sudo rsync
3331

3432
- name: add autostart shortcuts
3533
template:

icpc-wf/ansible/roles/phpstorm/tasks/main.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
dest: "/phpstorm"
1010
owner: no
1111
use_ssh_args: true
12-
rsync_path: sudo rsync
1312

1413
- name: Copy in PHPStorm config
1514
become: no
@@ -19,7 +18,6 @@
1918
dest: "/home/domjudge/.config/JetBrains"
2019
owner: no
2120
use_ssh_args: true
22-
rsync_path: sudo rsync
2321

2422
- name: Copy in PHPStorm jdbc drivers
2523
become: no
@@ -29,7 +27,6 @@
2927
dest: "/home/domjudge/.config/JetBrains/PhpStorm{{ PHPSTORM_VERSION }}/"
3028
owner: no
3129
use_ssh_args: true
32-
rsync_path: sudo rsync
3330

3431
- name: fix ownership of PHPStorm config
3532
file:
@@ -55,7 +52,6 @@
5552
owner: no
5653
recursive: yes
5754
use_ssh_args: true
58-
rsync_path: sudo rsync
5955

6056
- name: fix ownership of PHPStorm local share
6157
file:

0 commit comments

Comments
 (0)