Debian Codegraph @

ansible_collections/netapp/cloudmanager/execution_environments/README.md

raw
1 # How to build an Ansible Execution Environment
2
3 ## Prerequisites
4 This was tested with ansible-builder version 1.1.0.
5
6 ## Building from Galaxy
7 Using the files in the ansible_collections/netapp/cloudmanager/execution_environments/from_galaxy directory as a template:
8 - execution-environment.yml describes the build environment.
9 - requirements.yml defines the collections to add into you execution environment.
10
11 Then build with:
12
13 ```
14 ansible-builder build
15 ```
16
17 For instance, using podman instead of docker, and tagging:
18 ```
19 ansible-builder build --container-runtime=podman --tag myregistry.io/ansible-ee-netapp-cm:21.20.1 -f execution-environment.yml -v 3
20 ```
21
22 In my case, I needed to use sudo.
23
24 ## Building from GitHub
25 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.
26 See ansible_collections/netapp/cloudmanager/execution_environments/from_github/requirements.yml
27
28 ## References
29
30 https://ansible-builder.readthedocs.io/en/stable/usage/
31
32 https://docs.ansible.com/automation-controller/latest/html/userguide/ee_reference.html
33
34