forked from evolix/ansible-roles
conventions
This commit is contained in:
parent
243c64f555
commit
9c56cff642
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue