diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 12:04:41 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 12:04:41 +0000 |
commit | 975f66f2eebe9dadba04f275774d4ab83f74cf25 (patch) | |
tree | 89bd26a93aaae6a25749145b7e4bca4a1e75b2be /ansible_collections/netapp/ontap/execution_environments/README.md | |
parent | Initial commit. (diff) | |
download | ansible-975f66f2eebe9dadba04f275774d4ab83f74cf25.tar.xz ansible-975f66f2eebe9dadba04f275774d4ab83f74cf25.zip |
Adding upstream version 7.7.0+dfsg.upstream/7.7.0+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/netapp/ontap/execution_environments/README.md')
-rw-r--r-- | ansible_collections/netapp/ontap/execution_environments/README.md | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/ansible_collections/netapp/ontap/execution_environments/README.md b/ansible_collections/netapp/ontap/execution_environments/README.md new file mode 100644 index 000000000..5d23ecc9a --- /dev/null +++ b/ansible_collections/netapp/ontap/execution_environments/README.md @@ -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 + + |