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

switch to infra.controller_configuration.dispatch #147

Merged
merged 2 commits into from
Apr 29, 2024
Merged
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
9 changes: 0 additions & 9 deletions cloud/setup.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 0 additions & 6 deletions linux/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion multi_select_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@

- name: Default Components
ansible.builtin.include_role:
name: "redhat_cop.controller_configuration.job_launch"
name: "infra.controller_configuration.job_launch"
9 changes: 0 additions & 9 deletions network/setup.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 0 additions & 4 deletions openshift/setup.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
---
controller_components:
- credentials
- job_templates

controller_credentials:
- name: OpenShift Credential
organization: Default
Expand Down
8 changes: 0 additions & 8 deletions satellite/setup.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
14 changes: 3 additions & 11 deletions setup_demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
4 changes: 0 additions & 4 deletions windows/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
user_message: |
''
controller_components:
- projects
- job_templates

controller_projects:
- name: Fact Scan
organization: Default
Expand Down
Loading