packages: fix include error

This commit is contained in:
uumas
2025-01-27 05:35:35 +02:00
parent 88318942e9
commit f94c4b6208

View File

@@ -1,10 +1,10 @@
---
- name: Include tasks for apt as package manager
ansible.builtin.include_tasks: apt.yml
ansible.builtin.include_tasks: apt.yaml
when: ansible_pkg_mgr == 'apt'
- name: Include tasks for other package manager
ansible.builtin.include_tasks: other.yml
ansible.builtin.include_tasks: other.yaml
when: ansible_pkg_mgr != 'apt'
- name: Ensure packages defined in delete_packages not installed