Skip to content

Commit c06cf1b

Browse files
committed
Move it to show the ignored error as last item.
1 parent 8e0a9a8 commit c06cf1b

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

provision-contest/ansible/admin.yml

+14-13
Original file line numberDiff line numberDiff line change
@@ -70,19 +70,6 @@
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
@@ -150,3 +137,17 @@
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+

0 commit comments

Comments
 (0)