supabase-postgres.git / summary / log / commit / refs
commit 9d7f4ea73d66a77526dc37c69bd06eb536a7ea44
Author: Manuel Mendez <708570+mmlb@users.noreply.github.com>
Commit: GitHub <noreply@github.com>
Date: Tue Sep 22 12:51:53 2026 +0000
ansible: Configure timsyncd to use AWS NTP servers (#2468)
Closer servers are better servers and these are the closest ones we can
get.
ansible/tasks/setup-system.yml | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/ansible/tasks/setup-system.yml b/ansible/tasks/setup-system.yml
index d5902807..666e7a2c 100644
--- a/ansible/tasks/setup-system.yml
+++ b/ansible/tasks/setup-system.yml
@@ -210,6 +210,25 @@
owner: 'root'
group: 'root'
+- name: configure NTP client
+ when: stage2
+ block:
+ - name: ensure conf directory exists
+ ansible.builtin.file:
+ path: /etc/systemd/timesyncd.conf.d
+ state: directory
+ mode: '0755'
+
+ - name: configure NTP server
+ ansible.builtin.copy:
+ content: |
+ [Time]
+ NTP=169.254.169.123 fd00:ec2::123
+ dest: /etc/systemd/timesyncd.conf.d/10-aws-time-sync.conf
+ mode: '0644'
+ owner: root
+ group: root
+
- name: Configure Apt
ansible.builtin.copy:
content: |