From 4020f454e13e16afcb81dad9857992ea9bf84a99 Mon Sep 17 00:00:00 2001 From: spmfox Date: Wed, 7 Jun 2023 00:29:18 -0400 Subject: Initial commit --- docs/ansible_execution_environment/ansible_ee.containerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 docs/ansible_execution_environment/ansible_ee.containerfile (limited to 'docs/ansible_execution_environment/ansible_ee.containerfile') diff --git a/docs/ansible_execution_environment/ansible_ee.containerfile b/docs/ansible_execution_environment/ansible_ee.containerfile new file mode 100644 index 0000000..48fb5ab --- /dev/null +++ b/docs/ansible_execution_environment/ansible_ee.containerfile @@ -0,0 +1,11 @@ +FROM almalinux:9 + +RUN dnf install -y ansible-core + +LABEL ansible_execution_environment="podman run -it --rm \ +-v /opt/playbooks:/opt/playbooks:Z \ +-e ANSIBLE_NOCOLOR=True \ +localhost/ansible_ee ansible-playbook" + +#Build image: +# podman build -f ansible_ee.containerfile -t localhost/ansible_ee -- cgit