Installation
Reviewing the initial collection list
Executed:
aadmin@uvm0:~$ ansible-galaxy collection list
aadmin@uvm0:~$ ansible-galaxy collection list
usage: ansible-galaxy [-h] [--version] [-v] TYPE ...
Perform various Role and Collection related operations.
positional arguments:
TYPE
collection Manage an Ansible Galaxy collection.
role Manage an Ansible Galaxy role.
options:
--version show program's version number, config file location, configured module search path, module location, executable location and exit
-h, --help show this help message and exit
-v, --verbose Causes Ansible to print more debug messages. Adding multiple -v will increase the verbosity, the builtin plugins currently evaluate up to -vvvvvv. A reasonable
level to start is -vvv, connection debugging might require -vvvv. This argument may be specified multiple times.
ERROR! - None of the provided paths were usable. Please specify a valid path with --collections-path
Installing the community.general collection
Executed:
aadmin@uvm0:~$ ansible-galaxy collection install community.general
aadmin@uvm0:~$ ansible-galaxy collection install community.general
Starting galaxy collection install process
Process install dependency map
Starting collection install process
Downloading https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collections/artifacts/community-general-9.5.0.tar.gz to /home/aadmin/.ansible/tmp/ansible-local-7938jn7rkp66/tmp9eb2q1u1/community-general-9.5.0-cnbdg9az
Installing 'community.general:9.5.0' to '/home/aadmin/.ansible/collections/ansible_collections/community/general'
community.general:9.5.0 was installed successfully
Reviewing the updated collection list
Executed:
aadmin@uvm0:~$ ansible-galaxy collection list
# /home/aadmin/.ansible/collections/ansible_collections
Collection Version
----------------- -------
community.general 9.5.0