29 lines
717 B
Markdown
29 lines
717 B
Markdown
|
# Collections
|
||
|
|
||
|
The porpouse of collections is get more modules and plugins to use in ansible.
|
||
|
|
||
|
Collections are supported by Ansible community.
|
||
|
|
||
|
# Install collections
|
||
|
|
||
|
In AWX-operator container , execute:
|
||
|
```
|
||
|
ansible-galaxy collection install -r requirements.yml
|
||
|
```
|
||
|
|
||
|
Where `requirements.yml` we need to specify the list of collections that we want to install:
|
||
|
|
||
|
```
|
||
|
collections:
|
||
|
- name: community.general
|
||
|
```
|
||
|
|
||
|
# Collection index:
|
||
|
[Index-Ansible-collections](https://docs.ansible.com/ansible/latest/collections/index.html)
|
||
|
|
||
|
# List collections
|
||
|
[Listing-collections](https://docs.ansible.com/ansible/latest/collections_guide/collections_listing.html)
|
||
|
|
||
|
To list installed collections, run `ansible-galaxy collection list`
|
||
|
|