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 2bf48c2 commit c57d0b4Copy full SHA for c57d0b4
icpc-wf/ansible/judgehost.yml
@@ -43,12 +43,15 @@
43
pre_tasks:
44
- name: Get current services
45
service_facts:
46
+ - name: Print all available facts
47
+ ansible.builtin.debug:
48
+ var: ansible_facts
49
- name: Disable all cores
50
service:
51
name="domjudge-judgedaemon@{{item}}"
52
state=stopped
53
with_sequence: start=0 end={{ ansible_processor_vcpus }} format=domjudge-judgedaemon@%1x
- when: domjudge-judgedaemon@%1x in services
54
+ when: domjudge-judgedaemon@0 in services
55
tasks:
56
- name: add autostart shortcuts
57
template:
0 commit comments