File tree Expand file tree Collapse file tree 1 file changed +14
-13
lines changed
provision-contest/ansible Expand file tree Collapse file tree 1 file changed +14
-13
lines changed Original file line number Diff line number Diff line change 7070 set_fact :
7171 dj_git_repo_scripts : " {{ DJ_GIT_REPO_SCRIPTS_RESTRICTED if WF_RESTRICTED_NETWORK else DJ_GIT_REPO_SCRIPTS }}"
7272
73- - name : Download offline repos
74- when : WF_RESTRICTED_NETWORK
75- become : true
76- become_user : domjudge
77- block :
78- - name : Create working copy of the domjudge-scripts repo
79- # We use a different directory here to have one single 'upstream' and not have issues with it
80- git : repo={{ dj_git_repo_scripts }} dest=/home/domjudge/domjudge-scripts-checkout version=main accept_hostkey=yes update=no
81-
82- - name : Create working copy of the contest repo
83- ignore_errors : true
84- git : repo=git@packages:{{ CONTEST_REPO }} dest=/home/domjudge/{{ CONTEST_REPO }} version=master accept_hostkey=yes update=no
85-
8673 - name : Copy custom CSS file for admin machines
8774 copy :
8875 src : admin-machine.css
150137 etype : user
151138 permissions : rwx
152139 state : present
140+
141+ - name : Download offline repos
142+ when : WF_RESTRICTED_NETWORK
143+ become : true
144+ become_user : domjudge
145+ block :
146+ - name : Create working copy of the domjudge-scripts repo
147+ # We use a different directory here to have one single 'upstream' and not have issues with it
148+ git : repo={{ dj_git_repo_scripts }} dest=/home/domjudge/domjudge-scripts-checkout version=main accept_hostkey=yes update=no
149+
150+ - name : Create working copy of the contest repo
151+ ignore_errors : true
152+ git : repo=git@packages:{{ CONTEST_REPO }} dest=/home/domjudge/{{ CONTEST_REPO }} version=master accept_hostkey=yes update=no
153+
You can’t perform that action at this time.
0 commit comments