From a4a808c3a20d0518c44114527c95866c6573bfdb Mon Sep 17 00:00:00 2001 From: DOMjudge team Date: Sat, 13 Apr 2024 15:22:38 +0200 Subject: [PATCH] Move nicelog script out of keepalived task It is not related to this, move it to common domserver tasks. --- provision-contest/ansible/domserver.yml | 8 ++++++++ .../keepalived/files/alerting/bin => files}/nicelog | 0 2 files changed, 8 insertions(+) rename provision-contest/ansible/{roles/keepalived/files/alerting/bin => files}/nicelog (100%) diff --git a/provision-contest/ansible/domserver.yml b/provision-contest/ansible/domserver.yml index d7116f73..e7cb56b9 100644 --- a/provision-contest/ansible/domserver.yml +++ b/provision-contest/ansible/domserver.yml @@ -105,6 +105,14 @@ owner: root notify: Clear application cache + - name: Add log viewing helper script + copy: + src: files/nicelog + dest: /home/domjudge/bin + owner: domjudge + group: domjudge + mode: 0755 + - name: Add autostart shortcuts copy: src: files/{{ item }}.desktop diff --git a/provision-contest/ansible/roles/keepalived/files/alerting/bin/nicelog b/provision-contest/ansible/files/nicelog similarity index 100% rename from provision-contest/ansible/roles/keepalived/files/alerting/bin/nicelog rename to provision-contest/ansible/files/nicelog