Skip to content

Commit 2f5704c

Browse files
BHenkemansnickygerritsen
authored andcommitted
Changed handlers to use import_task instead of include
1 parent a8b022e commit 2f5704c

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

provision-contest/ansible/admin.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
tags: prometheus_target_all
4747
when: GRAFANA_MONITORING
4848
handlers:
49-
- include: handlers.yml
49+
- import_tasks: handlers.yml
5050
tasks:
5151
- name: Install common required/useful packages
5252
tags: packages

provision-contest/ansible/cds.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
host_type: cds
88
become: true
99
handlers:
10-
- include: handlers.yml
10+
- import_tasks: handlers.yml
1111
roles:
1212
- role: base_packages
1313
tags: base_packages

provision-contest/ansible/domserver.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
tags: prometheus_target_all
6060
when: GRAFANA_MONITORING
6161
handlers:
62-
- include: handlers.yml
62+
- import_tasks: handlers.yml
6363
tasks:
6464
- name: Install domserver required packages
6565
apt:

provision-contest/ansible/grafana.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
host_type: grafana
66
become: true
77
handlers:
8-
- include: handlers.yml
8+
- import_tasks: handlers.yml
99
roles:
1010
- role: base_packages
1111
tags: base_packages

provision-contest/ansible/judgehost.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
tags: prometheus_target_all
4040
when: GRAFANA_MONITORING
4141
handlers:
42-
- include: handlers.yml
42+
- import_tasks: handlers.yml
4343
pre_tasks:
4444
- name: Check if the service is already available
4545
stat:

provision-contest/ansible/mgmt.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
host_type: mgmt
88
become: true
99
handlers:
10-
- include: handlers.yml
10+
- import_tasks: handlers.yml
1111
roles:
1212
- role: base_packages
1313
tags: base_packages

provision-contest/ansible/presadmin.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
GRAPHICAL: true
99
become: true
1010
handlers:
11-
- include: handlers.yml
11+
- import_tasks: handlers.yml
1212
roles:
1313
- role: base_packages
1414
tags: base_packages

provision-contest/ansible/presclient.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
GRAPHICAL: true
99
become: true
1010
handlers:
11-
- include: handlers.yml
11+
- import_tasks: handlers.yml
1212
roles:
1313
- role: base_packages
1414
tags: base_packages

provision-contest/ansible/scoreboard.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
host_type: scoreboard
88
become: true
99
handlers:
10-
- include: handlers.yml
10+
- import_tasks: handlers.yml
1111
roles:
1212
- role: base_packages
1313
tags: base_packages

0 commit comments

Comments
 (0)