Skip to content

Commit

Permalink
Merge branch 'main' into jce/injector
Browse files Browse the repository at this point in the history
  • Loading branch information
jce-redhat committed May 6, 2024
2 parents fec5d54 + e990f39 commit fabc67e
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 52 deletions.
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

# "!unsafe" used to pass raw jinja2 through to the injector definition, see
# https://github.com/redhat-cop/controller_configuration/tree/devel/roles/credential_types#formating-injectors
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

0 comments on commit fabc67e

Please sign in to comment.