Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates for AAP 2.5 #193

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions common/setup.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
controller_execution_environments:
- name: product-demos
image: quay.io/acme_corp/product-demos-ee:latest
- name: Cloud Services Execution Environment
image: quay.io/scottharwell/cloud-ee:latest

Expand Down
1 change: 1 addition & 0 deletions execution_environments/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ee_contexts
66 changes: 63 additions & 3 deletions execution_environments/apd-ee-25.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,66 @@ images:
name: registry.redhat.io/ansible-automation-platform-25/ee-minimal-rhel9:latest

dependencies:
galaxy: requirements.yml
system:
- "python3-devel"
- "python3-requests"
- "python3-pyyaml"
python_interpreter:
package_system: "python311"
python_path: "/usr/bin/python3.11"
galaxy:
collections:
- name: ansible.controller
version: 4.6.1
- name: infra.controller_configuration
version: 2.11.0
- name: infra.ah_configuration
version: ">=2.0.6"
- name: redhat_cop.controller_configuration
version: ">=2.3.1"
# linux
- name: ansible.posix
version: ">=1.5.4"
- name: community.general
version: ">=8.0.0"
- name: containers.podman
version: ">=1.12.1"
- name: redhat.insights
version: ">=1.2.2"
- name: redhat.rhel_system_roles
version: ">=1.23.0"
# windows
- name: ansible.windows
version: ">=2.3.0"
- name: chocolatey.chocolatey
version: ">=1.5.1"
- name: community.windows
version: ">=2.2.0"
# cloud
- name: amazon.aws
version: ">=7.5.0"
# satellite
- name: redhat.satellite
version: ">=4.0.0"
# network
- name: ansible.netcommon
version: ">=6.0.0"
- name: cisco.ios
version: ">=7.0.0"
- name: cisco.iosxr
version: ">=8.0.0"
- name: cisco.nxos
version: ">=7.0.0"
# pip trys to build a wheel for one of the dependent libs in infoblox
# - name: infoblox.nios_modules
# version: ">=1.6.1"
# openshift
- name: kubernetes.core
version: ">=4.0.0"
- name: redhat.openshift
version: ">=3.0.1"
- name: redhat.openshift_virtualization
version: ">=1.4.0"

additional_build_files:
# https://access.redhat.com/solutions/7024259
Expand All @@ -19,6 +78,8 @@ options:
package_manager_path: /usr/bin/microdnf

additional_build_steps:
append_base:
- RUN alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 0
prepend_base:
- RUN $PYCMD -m pip install --upgrade pip setuptools
- COPY _build/rpms/openshift-clients*.rpm /tmp/openshift-clients.rpm
Expand All @@ -28,5 +89,4 @@ additional_build_steps:
- ADD _build/configs/ansible.cfg /etc/ansible/ansible.cfg
- ARG ANSIBLE_GALAXY_SERVER_CERTIFIED_TOKEN
- ARG ANSIBLE_GALAXY_SERVER_VALIDATED_TOKEN

...
# - RUN alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 0
1 change: 1 addition & 0 deletions execution_environments/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# array of images to build
ee_images=(
"apd-ee-24"
"apd-ee-25"
)

for ee in "${ee_images[@]}"
Expand Down
2 changes: 1 addition & 1 deletion network/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ A **`Demo Inventory`** is created when setting up these demos and a dynamic sour
}
},
"_ansible_no_log": false
}
}
4 changes: 4 additions & 0 deletions setup_demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
- name: Create common demo resources
ansible.builtin.include_role:
name: infra.controller_configuration.dispatch
vars:
controller_dependency_check: false # noqa: var-naming[no-role-prefix]

- name: Setup demo
hosts: localhost
Expand All @@ -28,6 +30,8 @@
- name: Demo Components
ansible.builtin.include_role:
name: infra.controller_configuration.dispatch
vars:
controller_dependency_check: false # noqa: var-naming[no-role-prefix]

- name: Log Demo
ansible.builtin.uri:
Expand Down
Loading