File tree 1 file changed +14
-13
lines changed
provision-contest/ansible
1 file changed +14
-13
lines changed Original file line number Diff line number Diff line change 70
70
set_fact :
71
71
dj_git_repo_scripts : " {{ DJ_GIT_REPO_SCRIPTS_RESTRICTED if WF_RESTRICTED_NETWORK else DJ_GIT_REPO_SCRIPTS }}"
72
72
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
-
86
73
- name : Copy custom CSS file for admin machines
87
74
copy :
88
75
src : admin-machine.css
150
137
etype : user
151
138
permissions : rwx
152
139
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