20 lines
477 B
YAML
20 lines
477 B
YAML
---
|
|
# Defaults are fine for chrony
|
|
- name: Install chrony packages
|
|
ansible.builtin.dnf:
|
|
name: "{{ chrony_packages }}"
|
|
state: present
|
|
|
|
- name: Fix permissions for chrony home directory
|
|
ansible.builtin.file:
|
|
path: "{{ chrony_homedir }}"
|
|
mode: 0750
|
|
state: directory
|
|
|
|
- name: Manage the state of service
|
|
ansible.builtin.systemd:
|
|
name: "{{ chrony_service_name }}"
|
|
state: "{{ chrony_service_state }}"
|
|
enabled: "{{ chrony_service_enabled }}"
|
|
...
|