From 37083f514199ea5dadfdcbe711a88974341699fe Mon Sep 17 00:00:00 2001 From: Helen Bailey Date: Mon, 2 Dec 2024 17:36:35 -0500 Subject: [PATCH] Add execution environment definition --- .../exec_env/execution-environment.yml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 extensions/patterns/ec2_instance/exec_env/execution-environment.yml diff --git a/extensions/patterns/ec2_instance/exec_env/execution-environment.yml b/extensions/patterns/ec2_instance/exec_env/execution-environment.yml new file mode 100644 index 00000000..f7bceb39 --- /dev/null +++ b/extensions/patterns/ec2_instance/exec_env/execution-environment.yml @@ -0,0 +1,29 @@ +--- +version: 3 + +dependencies: + ansible_core: + package_pip: ansible-core + ansible_runner: + package_pip: ansible-runner + galaxy: + collections: + - name: cloud.aws_ops + source: https://github.com/hakbailey/cloud.aws_ops.git + type: git + version: cloud-pattern-testing + - name: amazon.aws + source: https://github.com/ansible-collections/amazon.aws.git + type: git + version: main + python: + - boto3 + - botocore + +images: + base_image: + name: docker.io/redhat/ubi9:latest + +additional_build_steps: + append_base: | + RUN yum install -y git