Skip to content

Commit 7d4041a

Browse files
committed
Remove boilerplate code
1 parent a98541f commit 7d4041a

File tree

12 files changed

+0
-24
lines changed

12 files changed

+0
-24
lines changed
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
---
2-
# Define here handlers associated to this role.
3-
42
- name: run apt update
53
command: apt update

provision-contest/ansible/roles/cds/handlers/main.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
---
2-
# Define here handlers associated to this role.
3-
42
- name: restart cds
53
systemd:
64
name: cds

provision-contest/ansible/roles/domjudge_build/handlers/main.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
---
2-
# Define here handlers associated to this role.
3-
42
- name: fix permissions on domjudge inplace-install
53
command: make -C {{ DJ_DIR }} inplace-postinstall-permissions
64

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
---
2-
# Define here handlers associated to this role.
3-
42
- name: restart gdm
53
service: name=gdm3 enabled=true state=restarted
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
---
2-
# Define here handlers associated to this role.
3-
42
- name: restart PHP FPM
53
service: name=php7.4-fpm enabled=true state=restarted

provision-contest/ansible/roles/grafana/handlers/main.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
---
2-
# Define here handlers associated to this role.
3-
42
- name: restart nginx-exporter
53
service:
64
name: prometheus-nginx-exporter

provision-contest/ansible/roles/icpc_fixes/handlers/main.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
---
2-
# Define here handlers associated to this role.
3-
42
- name: restart systemd timesyncd
53
systemd:
64
name: systemd-timesyncd

provision-contest/ansible/roles/judgedaemon/handlers/main.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
---
2-
# Define here handlers associated to this role.
3-
42
- name: enable and restart tune_cpu
53
systemd:
64
name: tune_cpu
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
---
2-
# Define here handlers associated to this role.
3-
42
- name: restart keepalived service
53
service: name=keepalived state=restarted
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
---
2-
# Define here handlers associated to this role.
3-
42
- name: restart mysql
53
service: name=mysql enabled=true state=restarted

0 commit comments

Comments
 (0)