This commit is contained in:
2026-05-27 11:21:25 +02:00
parent 9f1340df9e
commit b7110f0fb7
+18
View File
@@ -18,6 +18,24 @@
XDG_CONFIG_HOME: /home/jd/.config
KUBECONFIG: "{{ kubeconfig }}"
block:
- name: Enable NTP synchronization
ansible.builtin.command: timedatectl set-ntp true
changed_when: false
- name: Restart systemd-timesyncd
ansible.builtin.service:
name: systemd-timesyncd
state: restarted
enabled: true
- name: Wait for time synchronization
ansible.builtin.command: timedatectl status
register: timedatectl_status
retries: 10
delay: 6
until: "'System clock synchronized: yes' in timedatectl_status.stdout"
changed_when: false
- name: Create apt proxy file
ansible.builtin.copy:
dest: /etc/apt/apt.conf.d/02proxy