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 2a6477f commit 0b440b8Copy full SHA for 0b440b8
handlers/main.yml
@@ -10,3 +10,22 @@
10
name: "{{ ntp_cron_daemon }}"
11
state: restarted
12
when: ntp_cron_handler_enabled | bool
13
+
14
+## seccomp "fixes" for arm64 / container
15
+- name: Create chronyd override to disable seccomp
16
+ copy:
17
+ dest: /etc/systemd/system/chronyd.service.d/no-seccomp.conf
18
+ content: |
19
+ [Service]
20
+ SystemCallFilter=
21
+ mode: '0644'
22
+ register: override_created
23
+ when: ansible_architecture in ['aarch64', 'arm64']
24
25
26
+- name: Reload systemd and restart chronyd
27
+ systemd:
28
+ name: chronyd
29
+ daemon_reload: yes
30
+ state: restarted
31
+ when: override_created.changed
0 commit comments