From 3938f3c573537a6426283431325eef45604576b2 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 08:49:32 +0200 Subject: [PATCH] getting_started_ee/build_execution_environment.rst: temporary sample fix (#1924) (#1927) (cherry picked from commit c84880386a2f123ad5ee999bccfea4a502868663) Co-authored-by: Andrew Klychkov --- .../build_execution_environment.rst | 31 +++++++++++++++---- 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/docs/docsite/rst/getting_started_ee/build_execution_environment.rst b/docs/docsite/rst/getting_started_ee/build_execution_environment.rst index fb9adbea972..86ff9694cb2 100644 --- a/docs/docsite/rst/getting_started_ee/build_execution_environment.rst +++ b/docs/docsite/rst/getting_started_ee/build_execution_environment.rst @@ -16,12 +16,31 @@ To build your first EE: #. Create a ``execution-environment.yml`` file that specifies dependencies to include in the image. - .. literalinclude:: yaml/execution-environment.yml - :language: yaml - - > The `psycopg2-binary` Python package is included in the `requirements.txt` file for the collection. - > For collections that do not include `requirements.txt` files, you need to specify Python dependencies explicitly. - > See the `Ansible Builder documentation `_ for details. + .. code-block:: yaml + + version: 3 + + images: + base_image: + name: quay.io/fedora/fedora:latest + + dependencies: + ansible_core: + package_pip: ansible-core + ansible_runner: + package_pip: ansible-runner + system: + - openssh-clients + - sshpass + galaxy: + collections: + - name: community.postgresql + + .. note:: + + The `psycopg2-binary` Python package is included in the `requirements.txt` file for the collection. + For collections that do not include `requirements.txt` files, you need to specify Python dependencies explicitly. + See the `Ansible Builder documentation `_ for details. #. Build a EE container image called ``postgresql_ee``.