diff --git a/tasks/ntp.yaml b/tasks/ntp.yaml index 5136d87..b09611d 100644 --- a/tasks/ntp.yaml +++ b/tasks/ntp.yaml @@ -12,6 +12,16 @@ update_cache: true when: 'ansible_os_family == "Alpine"' + # create keys file + - name: "ntp - chrony keys file" + ansible.builtin.file: + path: "/etc/chrony/chrony.keys" + owner: "chrony" + group: "chrony" + mode: "0440" + state: "touch" + when: 'ansible_os_family == "Alpine"' + # install chrony - name: "ntp - install - chrony debian" ansible.builtin.apt: