|
| 1 | +--- |
| 2 | +version: 3 |
| 3 | + |
| 4 | +build_arg_defaults: |
| 5 | + ANSIBLE_GALAXY_CLI_COLLECTION_OPTS: '--upgrade' |
| 6 | + |
| 7 | +dependencies: |
| 8 | + python_interpreter: |
| 9 | + python_path: /usr/bin/python3.12 |
| 10 | + galaxy: |
| 11 | + collections: |
| 12 | + # Foundation for automating Ansible, AAP, and Config-as-Code for it all. |
| 13 | + - name: ansible.controller |
| 14 | + - name: ansible.eda |
| 15 | + - name: ansible.hub |
| 16 | + - name: ansible.platform |
| 17 | + - name: ansible.posix |
| 18 | + - name: infra.aap_configuration |
| 19 | + - name: infra.aap_utilities |
| 20 | + - name: kubernetes.core |
| 21 | + - name: ansible.utils |
| 22 | + # Windows and Azure |
| 23 | + - name: ansible.windows |
| 24 | + - name: community.general |
| 25 | + - name: community.windows |
| 26 | + - name: azure.azcollection |
| 27 | + # Network Devices |
| 28 | + - name: f5networks.f5_modules |
| 29 | + - name: cisco.ios |
| 30 | + - name: cisco.nxos |
| 31 | + - name: cisco.ios-xr |
| 32 | + - name: arista.eos |
| 33 | + - name: junipernetworks.junos |
| 34 | + python: |
| 35 | + - selinux |
| 36 | + - dnspython |
| 37 | + - psutil |
| 38 | + - netaddr |
| 39 | + # begin custom python |
| 40 | + |
| 41 | + system: |
| 42 | + - findutils [platform:rpm] |
| 43 | + - systemd-devel [platform:rpm] |
| 44 | + - python3.12-devel [platform:rpm] |
| 45 | + - gcc [platform:rpm] |
| 46 | + |
| 47 | +images: |
| 48 | + base_image: |
| 49 | + name: registry.redhat.io/ansible-automation-platform-27/ee-minimal-rhel9:2.16 |
| 50 | + |
| 51 | +options: |
| 52 | + package_manager_path: /usr/bin/microdnf |
| 53 | + |
| 54 | +additional_build_files: |
| 55 | + - src: /etc/ansible/ansible.cfg |
| 56 | + dest: configs |
| 57 | +# - src: /opt/exec_envs/hub_certs/aap2_7_ca.cert |
| 58 | +# dest: configs |
| 59 | + |
| 60 | +additional_build_steps: |
| 61 | + prepend_galaxy: |
| 62 | + - ADD _build/configs/ansible.cfg ${HOME}/.ansible.cfg |
| 63 | + - ADD _build/configs/aap26_ca.cert /etc/pki/ca-trust/source/anchors/aap27_ca.cert |
| 64 | + |
| 65 | +# example for dev on windows |
| 66 | +# append_final: | |
| 67 | +# ENV ACCEPT_EULA=Y |
| 68 | +# RUN curl -o /etc/yum.repos.d/microsoft-prod.repo https://packages.microsoft.com/config/rhel/9/prod.repo && \ |
| 69 | +# microdnf -y install powershell azure-cli mssql-tools18 unixODBC-devel && \ |
| 70 | +# microdnf clean all && \ |
| 71 | +# rm -rf /var/{cache,log} /var/lib/{dnf,rhsm} |
0 commit comments