ceph: set NTP servers

This commit is contained in:
Timotej Lazar 2024-06-19 15:07:59 +02:00
parent 29598ef4bb
commit 4b34370d5d
2 changed files with 13 additions and 0 deletions

View file

@ -3,6 +3,13 @@
dest: /etc/hosts
src: hosts.j2
- name: Set up NTP servers
lineinfile:
path: /etc/systemd/timesyncd.conf
regexp: '^#?NTP='
line: 'NTP={{ ntp | join(" ") }}'
notify: restart systemd-timesyncd
- name: Generate my SSH key
openssh_keypair:
path: /root/.ssh/id_ed25519