fix: declare the dependency on the collection community.general
On Archlinux ansible.builtin.package resolves to the module pacman, which is shipped by community.general and not by ansible-core. Without the collection the role fails with "Could not find a matching action for the pacman package manager", which surfaced in the molecule scenario as soon as only the explicitly declared collections were installed. Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -6,7 +6,8 @@ trust store.
|
||||
|
||||
## Requirements
|
||||
|
||||
The role relies on the modules of the collection `community.crypto`.
|
||||
The role relies on the modules of the collection `community.crypto`. On Archlinux the collection `community.general`
|
||||
is additionally required, because it provides the `pacman` module.
|
||||
|
||||
```bash
|
||||
ansible-galaxy collection install -r requirements.yaml
|
||||
|
||||
@@ -3,3 +3,4 @@
|
||||
collections:
|
||||
- name: community.crypto
|
||||
- name: community.docker
|
||||
- name: community.general
|
||||
|
||||
@@ -3,3 +3,4 @@
|
||||
collections:
|
||||
- name: community.crypto
|
||||
- name: community.docker
|
||||
- name: community.general
|
||||
|
||||
Reference in New Issue
Block a user