Ansible-galaxy Installation On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS

Ansible-galaxy Installation On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian And MacOS

ansible-galaxy

Create and manage Ansible roles.
Homepage: .

Maintainer: Harlan Lieberman-Berg



Section: admin

Install ansible-galaxy

  • Debian apt-get install ansible Click to copy
  • Ubuntu apt-get install ansible Click to copy
  • Alpine OS apk add ansible Click to copy
  • Arch Linux pacman -S ansible Click to copy
  • Kali Linux apt-get install ansible Click to copy
  • CentOS yum install ansible Click to copy
  • Fedora dnf install ansible Click to copy
  • Raspbian apt-get install ansible Click to copy
  • macOS brew install ansible Click to copy

Create and manage Ansible roles. Homepage: .

How to use ansible-galaxy?

Below are few example commands for ansible-galaxy that you can use in the terminal.

Install a role:
ansible-galaxy install username.role_nameClick to copy
Remove a role:
ansible-galaxy remove username.role_nameClick to copy
List installed roles:
ansible-galaxy listClick to copy
Search for a given role:
ansible-galaxy search role_nameClick to copy
Create a new role:
ansible-galaxy init role_nameClick to copy
Installation of latest ansible-galaxy command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.