ansible-galaxy

Verified for current stable LTS

Ansible Galaxy Commands

Ansible Galaxy command syntax with verified terminal examples.

Commands

14 commands for Ansible Galaxy

ansible-galaxy

Ansible Galaxy Command: Search For Role

ansible-galaxy role search <keyword> -v<vvvvv>
ansible-galaxy

Ansible Galaxy Command: Get Role Information

ansible-galaxy role info <role_name>
ansible-galaxy

Ansible Galaxy Command: List Installed Roles Or Collections

ansible-galaxy <role|collection> list
ansible-galaxy

Ansible Galaxy Command: Install Or Remove Roles

ansible-galaxy role <install|remove> <role_name1 role_name2 ...>
ansible-galaxy

Ansible Galaxy Command: Create New Role

ansible-galaxy role init <role_name>
ansible-galaxy

Ansible Galaxy Command: Install Or Remove Collections

ansible-galaxy collection <install|remove> <collection_name1 collection_name2 ...>
ansible-galaxy

Ansible Galaxy Command: Display Help

ansible-galaxy <role|collection> -h
ansible-galaxy

Ansible Galaxy Command: Search

ansible-galaxy role search <keyword> -v<vvvvv>
ansible-galaxy

Ansible Galaxy Command: Info Role

ansible-galaxy role info <role_name>
ansible-galaxy

Ansible Galaxy Command: List

ansible-galaxy <role|collection> list
ansible-galaxy

Ansible Galaxy Command: Install Remove Role

ansible-galaxy role <install|remove> <role_name1 role_name2 ...>
ansible-galaxy

Ansible Galaxy Command: Create Role

ansible-galaxy role init <role_name>
ansible-galaxy

Ansible Galaxy Command: Install Remove Collection

ansible-galaxy collection <install|remove> <collection_name1 collection_name2 ...>
ansible-galaxy

Ansible Galaxy Command: Help

ansible-galaxy <role|collection> -h

Suggest a Ansible Galaxy Command

Submit missing workflows, corrections, or verified alternatives for this tool.

FAQ

Coverage: Focused examples for common Ansible Galaxy workflows.

Verified version: current stable LTS.

Verification: Test commands in a disposable workspace and submit notes for edge cases.