switch to infra.controller_configuration.dispatch (#147)
This commit is contained in:
@@ -1,15 +1,6 @@
|
||||
---
|
||||
user_message:
|
||||
|
||||
controller_components:
|
||||
- execution_environments
|
||||
- projects
|
||||
- credentials
|
||||
- inventory_sources
|
||||
- groups
|
||||
- job_templates
|
||||
- workflow_job_templates
|
||||
|
||||
controller_execution_environments:
|
||||
- name: Cloud Services Execution Environment
|
||||
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 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
|
||||
controller_components:
|
||||
- projects
|
||||
- credential_types
|
||||
- credentials
|
||||
- inventory_sources
|
||||
- job_templates
|
||||
|
||||
controller_credential_types:
|
||||
- name: Insights Collection
|
||||
|
||||
@@ -15,4 +15,4 @@
|
||||
|
||||
- name: Default Components
|
||||
ansible.builtin.include_role:
|
||||
name: "redhat_cop.controller_configuration.job_launch"
|
||||
name: "infra.controller_configuration.job_launch"
|
||||
|
||||
@@ -1,15 +1,6 @@
|
||||
---
|
||||
user_message:
|
||||
|
||||
controller_components:
|
||||
- execution_environments
|
||||
- projects
|
||||
- inventories
|
||||
- hosts
|
||||
- inventory_sources
|
||||
- inventory_source_update
|
||||
- job_templates
|
||||
|
||||
controller_execution_environments:
|
||||
- name: Networking Execution Environment
|
||||
image: quay.io/nleiva/ee-network-image
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
---
|
||||
controller_components:
|
||||
- credentials
|
||||
- job_templates
|
||||
|
||||
controller_credentials:
|
||||
- name: OpenShift Credential
|
||||
organization: Default
|
||||
|
||||
@@ -1,14 +1,6 @@
|
||||
---
|
||||
user_message:
|
||||
|
||||
controller_components:
|
||||
- credential_types
|
||||
- credentials
|
||||
- inventory_sources
|
||||
- job_templates
|
||||
- job_launch
|
||||
- workflow_job_templates
|
||||
|
||||
controller_credential_types:
|
||||
- name: Satellite Collection
|
||||
kind: cloud
|
||||
|
||||
@@ -6,16 +6,11 @@
|
||||
tasks:
|
||||
- name: Default Components
|
||||
ansible.builtin.include_role:
|
||||
name: "redhat_cop.controller_configuration.{{ item }}"
|
||||
loop: "{{ controller_components }}"
|
||||
name: infra.controller_configuration.dispatch
|
||||
vars: # noqa var-naming[no-role-prefix]
|
||||
controller_components:
|
||||
- notification_templates
|
||||
- job_templates
|
||||
- settings
|
||||
controller_execution_environments:
|
||||
- name: product-demos
|
||||
image: http://quay.io/acme_corp/product-demos-ee:latest
|
||||
image: quay.io/acme_corp/product-demos-ee:latest
|
||||
controller_organizations:
|
||||
- name: Default
|
||||
default_environment: product-demos
|
||||
@@ -59,10 +54,7 @@
|
||||
|
||||
- name: Demo Components
|
||||
ansible.builtin.include_role:
|
||||
name: "redhat_cop.controller_configuration.{{ item }}"
|
||||
loop: "{{ controller_components }}"
|
||||
when:
|
||||
- controller_components | d("") | length > 0
|
||||
name: "infra.controller_configuration.dispatch"
|
||||
|
||||
- name: Log Demo
|
||||
ansible.builtin.uri:
|
||||
|
||||
@@ -2,10 +2,6 @@
|
||||
user_message: |
|
||||
''
|
||||
|
||||
controller_components:
|
||||
- projects
|
||||
- job_templates
|
||||
|
||||
controller_projects:
|
||||
- name: Fact Scan
|
||||
organization: Default
|
||||
|
||||
Reference in New Issue
Block a user