mirror of
https://github.com/ansible/ansible-documentation.git
synced 2026-03-27 13:28:51 +07:00
This change follows up on PR #1924 by restoring the literalinclude and fixing the note that used invalid syntax.
This commit is contained in:
@@ -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 <https://ansible-builder.readthedocs.io/en/stable/definition/>`_ 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 <https://ansible-builder.readthedocs.io/en/stable/definition/>`_ for details.
|
||||
|
||||
#. Build a EE container image called ``postgresql_ee``.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user