conventions

This commit is contained in:
Jérémy Lecour 2023-10-14 07:05:55 +02:00 committed by Jérémy Lecour
parent 243c64f555
commit 9c56cff642
Signed by: jlecour
SSH key fingerprint: SHA256:h+5LgHRKwN9lS0SsdVR5yZPeFlJE4Mt+8UtL4CcP8dY

View file

@ -4,7 +4,7 @@
name: systemd-timesyncd name: systemd-timesyncd
state: present state: present
tags: tags:
- timesyncd - timesyncd
- name: Remove other NTP packages - name: Remove other NTP packages
ansible.builtin.apt: ansible.builtin.apt:
@ -13,17 +13,17 @@
- ntp - ntp
state: absent state: absent
tags: tags:
- timesyncd - timesyncd
- name: Ensure /etc/systemd/timesyncd.conf.d directory exists - name: Ensure /etc/systemd/timesyncd.conf.d directory exists
file: ansible.builtin.file:
path: /etc/systemd/timesyncd.conf.d path: /etc/systemd/timesyncd.conf.d
state: directory state: directory
mode: "755" mode: "755"
owner: root owner: root
group: root group: root
tags: tags:
- timesyncd - timesyncd
- name: Copy timesyncd config - name: Copy timesyncd config
ansible.builtin.template: ansible.builtin.template:
@ -32,4 +32,4 @@
mode: "0644" mode: "0644"
notify: Restart timesyncd notify: Restart timesyncd
tags: tags:
- timesyncd - timesyncd