commited current state (new functions, may not work by now)
This commit is contained in:
12
playbooks/setup-chronyd.yml
Normal file
12
playbooks/setup-chronyd.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
- name: "Setup chronyd"
|
||||
hosts: all
|
||||
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
|
||||
Reference in New Issue
Block a user