14 lines
407 B
YAML
14 lines
407 B
YAML
- name: "Setup chronyd"
|
|
hosts: all
|
|
user: tincadmin
|
|
become: true
|
|
tasks:
|
|
- name: Verify if system is Debian or Ubuntu
|
|
ansible.builtin.debug:
|
|
msg: "This playbook is running on a Debian or Ubuntu system."
|
|
when: ansible_os_family in ["Debian", "Ubuntu"]
|
|
|
|
- name: Import chronyd role
|
|
ansible.builtin.include_role:
|
|
name: system
|
|
tasks_from: setup-timeserver |