feat: add keys file for alpine
This commit is contained in:
parent
72687efbdf
commit
e74b4aad84
1 changed files with 10 additions and 0 deletions
|
|
@ -12,6 +12,16 @@
|
||||||
update_cache: true
|
update_cache: true
|
||||||
when: 'ansible_os_family == "Alpine"'
|
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
|
# install chrony
|
||||||
- name: "ntp - install - chrony debian"
|
- name: "ntp - install - chrony debian"
|
||||||
ansible.builtin.apt:
|
ansible.builtin.apt:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue