Skip to content

Commit

Permalink
Add known chrony config to image
Browse files Browse the repository at this point in the history
  • Loading branch information
dergeberl committed Sep 6, 2024
1 parent 23bc53d commit 988d32e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions image/chrony.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pool pool.ntp.org iburst
driftfile /var/lib/chrony/chrony.drift
rtcsync
cmdport 0
9 changes: 9 additions & 0 deletions image/install-alpine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@
regexp: ^PasswordAuthentication.*$
line: 'PasswordAuthentication no'

# chrony config
- name: upload chrony.conf
copy:
src: ./chrony.conf
dest: /etc/chrony/chrony.conf
owner: root
group: root
mode: 644

# keepalived
- name: install keepalived
command: "apk add keepalived"
Expand Down

0 comments on commit 988d32e

Please sign in to comment.