16 lines
400 B
YAML
16 lines
400 B
YAML
---
|
|
- name: Uninstall prerequisite packages
|
|
ansible.builtin.package:
|
|
name: "{{ item }}"
|
|
state: absent
|
|
loop: "{{ packages_uninstall_pre + packages_uninstall_pre_extra }}"
|
|
|
|
- name: Include OS specific tasks
|
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
|
vars:
|
|
params:
|
|
files:
|
|
- "{{ ansible_os_family | lower }}.yml"
|
|
paths:
|
|
- "tasks"
|