diff options
Diffstat (limited to 'roles/common/tasks')
-rw-r--r-- | roles/common/tasks/main.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index 3e00e6f..6d2296c 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -15,9 +15,23 @@ - curl - gnupg-agent - software-properties-common + - systemd-timesyncd state: latest update_cache: yes +- name: enable systemd-timesyncd + ansible.builtin.systemd_service: + name: systemd-timesyncd + state: restarted + enabled: true + daemon_reload: true + +- name: purge ntp + apt: + name: + - ntp + state: absent + - name: docker GPG key apt_key: url: https://download.docker.com/linux/debian/gpg |