From a7a59a1ef0688bd537d06f45093420c15d4cf159 Mon Sep 17 00:00:00 2001 From: Don Naro Date: Fri, 4 Oct 2024 06:16:34 +0100 Subject: [PATCH] issue #1925 ee getting started missing content (#1975) This change follows up on PR #1924 by restoring the literalinclude and fixing the note that used invalid syntax. (cherry picked from commit f109b783e5704abbdfb52d4e024e5ff45697b19b) --- .../build_execution_environment.rst | 27 ++++--------------- 1 file changed, 5 insertions(+), 22 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 86ff9694cb..5d8bb684dc 100644 --- a/docs/docsite/rst/getting_started_ee/build_execution_environment.rst +++ b/docs/docsite/rst/getting_started_ee/build_execution_environment.rst @@ -16,31 +16,14 @@ To build your first EE: #. Create a ``execution-environment.yml`` file that specifies dependencies to include in the image. - .. 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 + .. literalinclude:: yaml/execution-environment.yml + :language: yaml .. 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. + 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``.