July 2017
Intermediate to advanced
266 pages
6h 36m
English
The install subcommand is used by Ansible to install roles onto the control server. The general usage of this command is as follows:
ansible-galaxy install [options] [-r FILE | role_name(s)[,version] | tar_file(s)]
A more realistic example of this command in action might be something like the following:
ansible-galaxy install ANXS.postgresql
As we saw earlier, the Ansible Galaxy website will provide us with the command-line syntax to install a given role, and as we can see, this is generally fairly straightforward.
The install option provides several options to install roles. These are described next:
Read now
Unlock full access