diff --git a/tasks/main.yml b/tasks/main.yml index a52ee0a..bdee3cd 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,10 +1,13 @@ --- - name: 'include os-specific vars' - include_vars: "{{ansible_os_family | lower }}.yml" + ansible.builtin.include_vars: "{{ansible_os_family | lower }}.yml" tags: - 'chrony' - 'chrony-vars' -- include: "install.yml" -- include: "configure.yml" -- include: "service.yml" +- name: Include install tasks + ansible.builtin.include_tasks: "install.yml" +- name: Include configuration tasks + ansible.builtin.include_tasks: "configure.yml" +- name: Include the systemd service tasks + ansible.builtin.include_tasks: "service.yml"