--- - name: include per-os vars ansible.builtin.include_vars: file: "os_{{ ansible_distribution | lower }}.yml" - name: install distribution packages ansible.builtin.package: name: "{{ item }}" state: present loop: - "{{ basetools_common_packages }}" - "{{ basetools_distribution_packages }}"