ansible-galaxy

Create and manage Ansible roles. More information: <https://docs.ansible.com/ansible/latest/cli/ansible-galaxy.html>.

Install

All systems
curl cmd.cat/ansible-galaxy.sh
Debian Debian
apt-get install ansible
Ubuntu
apt-get install ansible
Alpine
apk add ansible
Arch Arch Linux
pacman -S ansible
image/svg+xml Kali Linux
apt-get install ansible
CentOS
yum install ansible
Fedora
dnf install ansible
Windows (WSL2)
sudo apt-get update sudo apt-get install ansible
OS X
brew install ansible
Raspbian
apt-get install ansible
Docker
docker run cmd.cat/ansible-galaxy ansible-galaxy powered by Commando

Create and manage Ansible roles. More information: <https://docs.ansible.com/ansible/latest/cli/ansible-galaxy.html>.

  • Install a role:
    ansible-galaxy install username.role_name
  • Remove a role:
    ansible-galaxy remove username.role_name
  • List installed roles:
    ansible-galaxy list
  • Search for a given role:
    ansible-galaxy search role_name
  • Create a new role:
    ansible-galaxy init role_name
  • Get information about a user role:
    ansible-galaxy role info username.role_name
  • Get information about a collection:
    ansible-galaxy collection info username.collection_name

© tl;dr; authors and contributors