- 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