lint: .yml -> .yaml
This commit is contained in:
14
roles/packages/tasks/main.yaml
Normal file
14
roles/packages/tasks/main.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
- name: Include tasks for apt as package manager
|
||||
ansible.builtin.include_tasks: apt.yml
|
||||
when: ansible_pkg_mgr == 'apt'
|
||||
|
||||
- name: Include tasks for other package manager
|
||||
ansible.builtin.include_tasks: other.yml
|
||||
when: ansible_pkg_mgr != 'apt'
|
||||
|
||||
- name: Ensure packages defined in delete_packages not installed
|
||||
ansible.builtin.package:
|
||||
name: "{{ delete_packages }}"
|
||||
state: absent
|
||||
when: delete_packages is defined
|
||||
Reference in New Issue
Block a user