readme collections

This commit is contained in:
Ruben Blanco 2023-10-17 09:03:45 +02:00
parent ac81877c7c
commit ef0ea46201
1 changed files with 28 additions and 0 deletions

28
collections/README.md Normal file
View File

@ -0,0 +1,28 @@
# 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`