switch to infra.controller_configuration.dispatch (#147)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
---
|
---
|
||||||
controller_components:
|
|
||||||
- credentials
|
|
||||||
- job_templates
|
|
||||||
|
|
||||||
controller_credentials:
|
controller_credentials:
|
||||||
- name: OpenShift Credential
|
- name: OpenShift Credential
|
||||||
organization: Default
|
organization: Default
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user