ansible-galaxy Verified for current stable LTS

Ansible Galaxy Command: List Installed Roles Or Collections

An engineer would use the command 'ansible-galaxy {{role|collection}} list' when they need to review all the currently installed Ansible roles or collections in their environment to ensure they have the necessary dependencies for their playbooks. Exact CLI syntax to list installed roles or collections using Ansible Galaxy.

When to use this: An engineer would use the command 'ansible-galaxy {{role|collection}} list' when they need to review all the currently installed Ansible roles or collections in their environment to ensure they have the necessary dependencies for their playbooks.

Command Syntax

ansible-galaxy <role|collection> list

Command Breakdown

ansible-galaxy is the base executable for this command.

FAQ

Purpose: Exact syntax to list installed roles or collections using Ansible Galaxy.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Ansible Galaxy directory