Init: mediaserver

This commit is contained in:
2023-02-08 12:13:28 +01:00
parent 848bc9739c
commit f7c23d4ba9
31914 changed files with 6175775 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
# How to build an Ansible Execution Environment
## Prerequisites
This was tested with ansible-builder version 1.1.0.
## Building from Galaxy
Using the files in the ansible_collections/netapp/ontap/execution_environments/from_galaxy directory as a template:
- execution-environment.yml describes the build environment.
- requirements.yml defines the collections to add into you execution environment.
Then build with:
```
ansible-builder build
```
For instance, using podman instead of docker, and tagging:
```
ansible-builder build --container-runtime=podman --tag myregistry.io/ansible-ee-netapp:21.24.1 -f execution-environment.yml -v 3
```
In my case, I needed to use sudo.
## Building from GitHub
Alternativaly, the source code can be downloaded from GitHub. It allows to get code before release (at your own risks) or to use a fork.
See ansible_collections/netapp/ontap/execution_environments/from_github/requirements.yml
## References
https://ansible-builder.readthedocs.io/en/stable/usage/
https://docs.ansible.com/automation-controller/latest/html/userguide/ee_reference.html

View File

@@ -0,0 +1,10 @@
---
version: 1
# ansible_config: 'ansible.cfg'
# build_arg_defaults:
# EE_BASE_IMAGE: 'quay.io/ansible/ansible-runner:latest'
dependencies:
galaxy: requirements.yml

View File

@@ -0,0 +1,13 @@
---
collections:
# Install collections from Galaxy
# - name: ansible.posix
# - name: netapp.aws
# # name: - netapp.azure
# - name: netapp.cloudmanager
# version: 21.19.0
# - name: netapp.elementsw
- name: netapp.ontap
version: 21.24.1
# - name: netapp.storagegrid
# - name: netapp.um_info

View File

@@ -0,0 +1,10 @@
---
version: 1
# ansible_config: 'ansible.cfg'
# build_arg_defaults:
# EE_BASE_IMAGE: 'quay.io/ansible/ansible-runner:latest'
dependencies:
galaxy: requirements.yml

View File

@@ -0,0 +1,18 @@
---
collections:
# Install collections from Galaxy
# - name: ansible.posix
# - name: netapp.aws
# # name: - netapp.azure
# - name: netapp.cloudmanager
# version: 21.19.0
# - name: netapp.elementsw
# - name: netapp.ontap
# version: 21.24.1
# - name: netapp.storagegrid
# - name: netapp.um_info
# Install a collection from GitHub.
- source: https://github.com/ansible-collections/netapp.ontap.git
type: git
version: 21.24.1