package-method-ansible-galaxy-collection

Package method for installing Ansible Galaxy Collections.

Maintainer

Craig Comstock

Module stats

Total Downloads: 0
Updated: Feb 2, 2026

Installation version

Version
Released on Feb 2, 2026

Tags

Installation

                    
cfbs add package-method-ansible-galaxy-collection@0.0.1
Description
Dependencies
Discussion

package-method-ansible-galaxy-collection

Usage

This module enables a ansible-galaxy-collection package method used with policy like:

packages:
  "ansible.posix"
    package_method => ansible_galaxy_collection,
    package_policy => "add";

Note that there is not a command option in ansible-galaxy to uninstall collections so that will result in no changes being made and a warning message. Ansible documentation suggests removing collections with rm

Installation

This module does not ensure that needed ansible packages are installed to provide the ansible-galaxy command. Typically this is a package named ansible on Debian-based distributions or ansible-core on RedHat-based distributions.

Dependencies

This module has no dependencies