mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
3c515dd221
* pacman: Fix removing locally installed packages Without this, using `absent` state for a locally installed package (for example from AUR, or from a package that was dropped from repositories) would return that package is already removed, despite remaining installed * Undo unwanted whitespace removal * Add changelog fragment * Update changelogs/fragments/4464-pacman-fix-local-remove.yaml Co-authored-by: Felix Fontein <felix@fontein.de> * Add test. Co-authored-by: Felix Fontein <felix@fontein.de>
14 lines
564 B
YAML
14 lines
564 B
YAML
---
|
|
####################################################################
|
|
# WARNING: These are designed specifically for Ansible tests #
|
|
# and should not be used as examples of how to write Ansible roles #
|
|
####################################################################
|
|
|
|
- when: ansible_os_family == 'Archlinux'
|
|
block:
|
|
# Add more tests here by including more task files:
|
|
- include: 'basic.yml'
|
|
- include: 'package_urls.yml'
|
|
- include: 'remove_nosave.yml'
|
|
- include: 'update_cache.yml'
|
|
- include: 'locally_installed_package.yml'
|