Skip to content

Commit 473350d

Browse files
add templated controller variables
1 parent a7b708b commit 473350d

23 files changed

+198
-9722
lines changed

.github/tests/ee_builder.yaml

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
- name: Playbook to create custom EE
3+
hosts: localhost
4+
gather_facts: false
5+
collections:
6+
- redhat_cop.ee_utilities
7+
- redhat_cop.controller_configuration
8+
vars:
9+
# For ansible.cfg generation
10+
# For controller configuration definition
11+
ee_reg_credential: Automation Hub Container Registry
12+
ee_create_ansible_config: false
13+
ee_list:
14+
- ee_name: custom_ee
15+
alt_name: Custom EE
16+
ee_base_image: 1registry.redhat.io/ansible-automation-platform-22/ee-supported-rhel8:latest
17+
ee_builder_image: 1registry.redhat.io/ansible-automation-platform-22/ansible-builder-rhel8:latest
18+
tag: 1-11-21-2
19+
# base_image
20+
bindep:
21+
- python38-requests [platform:centos-8 platform:rhel-8]
22+
- python38-pyyaml [platform:centos-8 platform:rhel-8]
23+
python:
24+
- pytz # for schedule_rrule lookup plugin
25+
- python-dateutil>=2.7.0 # schedule_rrule
26+
- awxkit # For import and export modules
27+
collections:
28+
- name: awx.awx
29+
version: 21.9.0
30+
- name: redhat_cop.controller_configuration
31+
- name: redhat_cop.ah_configuration
32+
prepend:
33+
- RUN whoami
34+
- RUN cat /etc/os-release
35+
append:
36+
- RUN echo This is a post-install command!
37+
- ee_name: custom_ee2
38+
alt_name: Custom EE2
39+
ee_base_image: 2registry.redhat.io/ansible-automation-platform-22/ee-supported-rhel8:latest
40+
ee_builder_image: 2registry.redhat.io/ansible-automation-platform-22/ansible-builder-rhel8:latest
41+
roles:
42+
- redhat_cop.ee_utilities.ee_builder
43+
...

.github/tests/ee_builder/bindep

-2
This file was deleted.

.github/tests/ee_builder/context/Containerfile

-34
This file was deleted.

.github/tests/ee_builder/context/_build/bindep.txt

-2
This file was deleted.

.github/tests/ee_builder/context/_build/requirements.txt

-5
This file was deleted.

.github/tests/ee_builder/context/_build/requirements.yml

-5
This file was deleted.

.github/tests/ee_builder/ee_builder-artifact-2021-10-07T18:28:28.642450+00:00.json

-21
This file was deleted.

.github/tests/ee_builder/ee_builder.yml

-31
This file was deleted.

.github/tests/ee_builder/ee_builder_base.yml

-38
This file was deleted.

.github/tests/ee_builder/ee_containerfile

-69
This file was deleted.

0 commit comments

Comments
 (0)