Skip to content

Commit 3bd1489

Browse files
committed
Remove duplication
1 parent 5e48219 commit 3bd1489

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

provision-contest/ansible/admin.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -72,16 +72,14 @@
7272

7373
- name: Download offline repos
7474
when: WF_RESTRICTED_NETWORK
75+
become: true
76+
become_user: domjudge
7577
block:
7678
- name: Create working copy of the domjudge-scripts repo
77-
become: true
78-
become_user: domjudge
7979
# We use a different directory here to have one single 'upstream' and not have issues with it
8080
git: repo={{ dj_git_repo_scripts }} dest=/home/domjudge/domjudge-scripts-checkout version=main accept_hostkey=yes update=no
8181

8282
- name: Create working copy of the contest repo
83-
become: true
84-
become_user: domjudge
8583
git: repo=git@cds:{{ CONTEST_REPO }} dest=/home/domjudge/{{ CONTEST_REPO }} version=master accept_hostkey=yes update=no
8684

8785
- name: Copy custom CSS file for admin machines

0 commit comments

Comments
 (0)