ansible / ansible-builder

An Ansible execution environment builder
Other
287 stars 93 forks source link

Expose a way to exclude deps #658

Closed sivel closed 5 months ago

sivel commented 5 months ago

Note: This is based off of https://github.com/ansible/ansible-builder/pull/645 right now

~At the moment, this is only fully wired up for python deps, as it was kind of an experiment.~

---
version: 3.1

images:
  base_image:
    name: quay.io/centos/centos:stream9

dependencies:
  python_interpreter:
    package_system: python3.11
    python_path: /usr/bin/python3.11

  ansible_core:
    package_pip: ansible-core

  ansible_runner:
    package_pip: ansible-runner

  galaxy:
    collections:
      - name: community.docker

  exclude:
    python:
      - docker

TODO:

NOTES:

sivel commented 5 months ago

Closing in favor of https://github.com/ansible/ansible-builder/pull/663