switch to infra.controller_configuration.dispatch (#147)

This commit is contained in:
Chris Edillon
2024-04-29 10:36:22 -04:00
committed by GitHub
parent 9cd49892c6
commit e990f39c60
8 changed files with 4 additions and 52 deletions

View File

@@ -1,15 +1,6 @@
--- ---
user_message: user_message:
controller_components:
- execution_environments
- projects
- credentials
- inventory_sources
- groups
- job_templates
- workflow_job_templates
controller_execution_environments: controller_execution_environments:
- name: Cloud Services Execution Environment - name: Cloud Services Execution Environment
image: quay.io/scottharwell/cloud-ee:latest image: quay.io/scottharwell/cloud-ee:latest

View File

@@ -3,12 +3,6 @@ user_message:
- Update the 'activation_key' and 'org_id' extra variables for 'LINUX / Register with Insights'. https://access.redhat.com/management/activation_keys - Update the 'activation_key' and 'org_id' extra variables for 'LINUX / Register with Insights'. https://access.redhat.com/management/activation_keys
- Update Credential for Insights Inventory with Red Hat account. - Update Credential for Insights Inventory with Red Hat account.
- Add variables for system_roles. https://console.redhat.com/ansible/automation-hub/repo/published/redhat/rhel_system_roles - Add variables for system_roles. https://console.redhat.com/ansible/automation-hub/repo/published/redhat/rhel_system_roles
controller_components:
- projects
- credential_types
- credentials
- inventory_sources
- job_templates
controller_credential_types: controller_credential_types:
- name: Insights Collection - name: Insights Collection

View File

@@ -15,4 +15,4 @@
- name: Default Components - name: Default Components
ansible.builtin.include_role: ansible.builtin.include_role:
name: "redhat_cop.controller_configuration.job_launch" name: "infra.controller_configuration.job_launch"

View File

@@ -1,15 +1,6 @@
--- ---
user_message: user_message:
controller_components:
- execution_environments
- projects
- inventories
- hosts
- inventory_sources
- inventory_source_update
- job_templates
controller_execution_environments: controller_execution_environments:
- name: Networking Execution Environment - name: Networking Execution Environment
image: quay.io/nleiva/ee-network-image image: quay.io/nleiva/ee-network-image

View File

@@ -1,8 +1,4 @@
--- ---
controller_components:
- credentials
- job_templates
controller_credentials: controller_credentials:
- name: OpenShift Credential - name: OpenShift Credential
organization: Default organization: Default

View File

@@ -1,14 +1,6 @@
--- ---
user_message: user_message:
controller_components:
- credential_types
- credentials
- inventory_sources
- job_templates
- job_launch
- workflow_job_templates
controller_credential_types: controller_credential_types:
- name: Satellite Collection - name: Satellite Collection
kind: cloud kind: cloud

View File

@@ -6,16 +6,11 @@
tasks: tasks:
- name: Default Components - name: Default Components
ansible.builtin.include_role: ansible.builtin.include_role:
name: "redhat_cop.controller_configuration.{{ item }}" name: infra.controller_configuration.dispatch
loop: "{{ controller_components }}"
vars: # noqa var-naming[no-role-prefix] vars: # noqa var-naming[no-role-prefix]
controller_components:
- notification_templates
- job_templates
- settings
controller_execution_environments: controller_execution_environments:
- name: product-demos - name: product-demos
image: http://quay.io/acme_corp/product-demos-ee:latest image: quay.io/acme_corp/product-demos-ee:latest
controller_organizations: controller_organizations:
- name: Default - name: Default
default_environment: product-demos default_environment: product-demos
@@ -59,10 +54,7 @@
- name: Demo Components - name: Demo Components
ansible.builtin.include_role: ansible.builtin.include_role:
name: "redhat_cop.controller_configuration.{{ item }}" name: "infra.controller_configuration.dispatch"
loop: "{{ controller_components }}"
when:
- controller_components | d("") | length > 0
- name: Log Demo - name: Log Demo
ansible.builtin.uri: ansible.builtin.uri:

View File

@@ -2,10 +2,6 @@
user_message: | user_message: |
'' ''
controller_components:
- projects
- job_templates
controller_projects: controller_projects:
- name: Fact Scan - name: Fact Scan
organization: Default organization: Default