main #31
|
@ -1,4 +1,4 @@
|
||||||
# Collections
|
## Collections
|
||||||
|
|
||||||
The purpose of collections is get more modules and plugins to use in ansible.
|
The purpose of collections is get more modules and plugins to use in ansible.
|
||||||
|
|
||||||
|
@ -11,7 +11,8 @@ In *awx-operator* container, execute:
|
||||||
ansible-galaxy collection install -r requirements.yml
|
ansible-galaxy collection install -r requirements.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
Where `requirements.yml` we need to specify the list of collections that we want to install:
|
Where `requirements.yml` we need to specify the list of collections that we
|
||||||
|
want to install:
|
||||||
```
|
```
|
||||||
collections:
|
collections:
|
||||||
- name: community.general
|
- name: community.general
|
||||||
|
@ -23,7 +24,8 @@ collections:
|
||||||
|
|
||||||
# List collections
|
# List collections
|
||||||
|
|
||||||
To list installed collections, run `ansible-galaxy collection list` (inside awx operator container)
|
To list installed collections, run `ansible-galaxy collection list` (inside awx
|
||||||
|
operator container)
|
||||||
|
|
||||||
* https://docs.ansible.com/ansible/latest/collections_guide/collections_listing.html
|
* https://docs.ansible.com/ansible/latest/collections_guide/collections_listing.html
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue