Skip to content

Commit 3938f3c

Browse files
getting_started_ee/build_execution_environment.rst: temporary sample fix (#1924) (#1927)
(cherry picked from commit c848803) Co-authored-by: Andrew Klychkov <[email protected]>
1 parent 700c5f5 commit 3938f3c

File tree

1 file changed

+25
-6
lines changed

1 file changed

+25
-6
lines changed

docs/docsite/rst/getting_started_ee/build_execution_environment.rst

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,31 @@ To build your first EE:
1616
1717
#. Create a ``execution-environment.yml`` file that specifies dependencies to include in the image.
1818

19-
.. literalinclude:: yaml/execution-environment.yml
20-
:language: yaml
21-
22-
> The `psycopg2-binary` Python package is included in the `requirements.txt` file for the collection.
23-
> For collections that do not include `requirements.txt` files, you need to specify Python dependencies explicitly.
24-
> See the `Ansible Builder documentation <https://ansible-builder.readthedocs.io/en/stable/definition/>`_ for details.
19+
.. code-block:: yaml
20+
21+
version: 3
22+
23+
images:
24+
base_image:
25+
name: quay.io/fedora/fedora:latest
26+
27+
dependencies:
28+
ansible_core:
29+
package_pip: ansible-core
30+
ansible_runner:
31+
package_pip: ansible-runner
32+
system:
33+
- openssh-clients
34+
- sshpass
35+
galaxy:
36+
collections:
37+
- name: community.postgresql
38+
39+
.. note::
40+
41+
The `psycopg2-binary` Python package is included in the `requirements.txt` file for the collection.
42+
For collections that do not include `requirements.txt` files, you need to specify Python dependencies explicitly.
43+
See the `Ansible Builder documentation <https://ansible-builder.readthedocs.io/en/stable/definition/>`_ for details.
2544

2645
#. Build a EE container image called ``postgresql_ee``.
2746

0 commit comments

Comments
 (0)