Installation

The most convenient way how to install an Ansible role is to use Ansible Galaxy CLI ansible-galaxy. The utility comes with the standard Ansible package and provides the user with a simple interface to the Ansible Galaxy’s services. For example, take a look at the current status of the role

shell> ansible-galaxy role info vbotka.linux_postinstall

and install it

 shell> ansible-galaxy role install vbotka.linux_postinstall

Install the libraries of tasks

 shell> ansible-galaxy role install vbotka.ansible_lib
 shell> ansible-galaxy role install vbotka.linux_lib

List installed collection versions

shell> ansible-galaxy collection list ansible.posix
shell> ansible-galaxy collection list ansible.utils
shell> ansible-galaxy collection list community.general

Optionally, upgrade the latest collections

shell> ansible-galaxy collection install --upgrade ansible.posix
shell> ansible-galaxy collection install --upgrade ansible.utils
shell> ansible-galaxy collection install --upgrade community.general

See also

  • Galaxy User Guide

  • Take a look at other roles shell> ansible-galaxy search --author=vbotka