Skip to content

Changed handlers to use import_task instead of include #182

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion provision-contest/ansible/admin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
tags: prometheus_target_all
when: GRAFANA_MONITORING
handlers:
- include: handlers.yml
- import_tasks: handlers.yml
tasks:
- name: Install common required/useful packages
tags: packages
Expand Down
2 changes: 1 addition & 1 deletion provision-contest/ansible/cds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
host_type: cds
become: true
handlers:
- include: handlers.yml
- import_tasks: handlers.yml
roles:
- role: base_packages
tags: base_packages
Expand Down
2 changes: 1 addition & 1 deletion provision-contest/ansible/domserver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
tags: prometheus_target_all
when: GRAFANA_MONITORING
handlers:
- include: handlers.yml
- import_tasks: handlers.yml
tasks:
- name: Install domserver required packages
apt:
Expand Down
2 changes: 1 addition & 1 deletion provision-contest/ansible/grafana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
host_type: grafana
become: true
handlers:
- include: handlers.yml
- import_tasks: handlers.yml
roles:
- role: base_packages
tags: base_packages
Expand Down
2 changes: 1 addition & 1 deletion provision-contest/ansible/judgehost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
tags: prometheus_target_all
when: GRAFANA_MONITORING
handlers:
- include: handlers.yml
- import_tasks: handlers.yml
pre_tasks:
- name: Check if the service is already available
stat:
Expand Down
2 changes: 1 addition & 1 deletion provision-contest/ansible/mgmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
host_type: mgmt
become: true
handlers:
- include: handlers.yml
- import_tasks: handlers.yml
roles:
- role: base_packages
tags: base_packages
Expand Down
2 changes: 1 addition & 1 deletion provision-contest/ansible/presadmin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
GRAPHICAL: true
become: true
handlers:
- include: handlers.yml
- import_tasks: handlers.yml
roles:
- role: base_packages
tags: base_packages
Expand Down
2 changes: 1 addition & 1 deletion provision-contest/ansible/presclient.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
GRAPHICAL: true
become: true
handlers:
- include: handlers.yml
- import_tasks: handlers.yml
roles:
- role: base_packages
tags: base_packages
Expand Down
2 changes: 1 addition & 1 deletion provision-contest/ansible/scoreboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
host_type: scoreboard
become: true
handlers:
- include: handlers.yml
- import_tasks: handlers.yml
roles:
- role: base_packages
tags: base_packages
Expand Down