We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f98123a commit 2bf48c2Copy full SHA for 2bf48c2
icpc-wf/ansible/judgehost.yml
@@ -41,11 +41,14 @@
41
tags: prometheus_target_all
42
when: GRAFANA_MONITORING
43
pre_tasks:
44
+ - name: Get current services
45
+ service_facts:
46
- name: Disable all cores
47
service:
48
name="domjudge-judgedaemon@{{item}}"
49
state=stopped
50
with_sequence: start=0 end={{ ansible_processor_vcpus }} format=domjudge-judgedaemon@%1x
51
+ when: domjudge-judgedaemon@%1x in services
52
tasks:
53
- name: add autostart shortcuts
54
template:
0 commit comments