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