vn-ansible/collections/README.md

35 lines
934 B
Markdown
Raw Normal View History

## Collections
2023-10-17 07:03:45 +00:00
2024-09-30 12:25:35 +00:00
The purpose of collections is get more modules and plugins to use in ansible.
Place your collection dependencies here in *requirements.yml* and AWX will
install them automtatically.
2023-10-17 07:03:45 +00:00
# Install collections
2024-09-23 14:32:28 +00:00
In *awx-operator* container, execute:
2023-10-17 07:03:45 +00:00
```
ansible-galaxy collection install -r requirements.yml
```
Where `requirements.yml` we need to specify the list of collections that we
want to install:
2023-10-17 07:03:45 +00:00
```
collections:
- name: community.general
```
2024-09-23 14:32:28 +00:00
# Collection index
* https://docs.ansible.com/ansible/latest/collections/index.html
2023-10-17 07:03:45 +00:00
# List collections
To list installed collections, run `ansible-galaxy collection list` (inside awx
operator container)
2024-09-23 14:32:28 +00:00
* https://docs.ansible.com/ansible/latest/collections_guide/collections_listing.html
# Install multiple collections
* https://docs.ansible.com/ansible/devel/collections_guide/collections_installing.html#install-multiple-collections-with-a-requirements-file