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 92d2df5 commit f011574Copy full SHA for f011574
icpc-wf/ansible/roles/icpc_fixes/handlers/main.yml
@@ -2,4 +2,6 @@
2
# Define here handlers associated to this role.
3
4
- name: restart systemd timesyncd
5
- command: systemctl restart systemd-timesyncd
+ systemd:
6
+ name: systemd-timesyncd
7
+ state: restarted
icpc-wf/ansible/roles/judgedaemon/tasks/main.yml
@@ -81,9 +81,9 @@
81
- enable and restart judgedaemon
82
83
- name: disable systemd timers
84
- command: systemctl mask {{ item }}
85
- args:
86
- creates: /etc/systemd/system/{{ item }}
+ name: "{{ item }}"
+ masked: true
87
loop:
88
- apt-daily-upgrade.timer
89
- apt-daily.timer
0 commit comments