Files
product-demos/openshift/setup.yml
2023-10-24 17:17:18 +00:00

57 lines
1.5 KiB
YAML

---
controller_components:
- projects
- credentials
- job_templates
controller_projects:
- name: USR App
organization: Default
scm_type: git
wait: true
scm_url: https://github.com/willtome/usr-workshop
controller_credentials:
- name: OpenShift Credential
organization: Default
credential_type: OpenShift or Kubernetes API Bearer Token
inputs:
host: CHANGEME
bearer_token: CHANGEME
verify_ssl: false
controller_templates:
- name: OpenShift / Dev Spaces
job_type: run
inventory: "Demo Inventory"
project: "Ansible official demo project"
playbook: "openshift/devspaces.yml"
notification_templates_started: Telemetry
notification_templates_success: Telemetry
notification_templates_error: Telemetry
credentials:
- "OpenShift Credential"
- name: OpenShift / GitLab
job_type: run
inventory: "Demo Inventory"
project: "Ansible official demo project"
playbook: "openshift/gitlab.yml"
notification_templates_started: Telemetry
notification_templates_success: Telemetry
notification_templates_error: Telemetry
credentials:
- "OpenShift Credential"
- name: OpenShift / USR App
job_type: run
inventory: "Demo Inventory"
project: "USR App"
playbook: "ansible_playbooks/deploy.yaml"
notification_templates_started: Telemetry
notification_templates_success: Telemetry
notification_templates_error: Telemetry
credentials:
- "OpenShift Credential"