diff --git a/tasks/main.yml b/tasks/main.yml index 905857f..c866558 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,7 +1,7 @@ --- -- name: include os specific vars - include_vars: '{{ item }}' +- name: Include os specific vars + ansible.builtin.include_vars: '{{ item }}' with_first_found: - '{{ ansible_distribution }}_{{ ansible_distribution_major_version }}.yml' - '{{ ansible_os_family }}.yml' @@ -10,12 +10,14 @@ - 'role::icinga2_web:install' - 'role::icinga2_web:config' -- import_tasks: installation.yml +- name: Include installation tasks + ansible.builtin.import_tasks: installation.yml tags: - 'role::icinga2_web' - 'role::icinga2_web:install' -- import_tasks: configuration.yml +- name: Include configuration tasks + ansible.builtin.import_tasks: configuration.yml tags: - 'role::icinga2_web' - 'role::icinga2_web:config'