openscanhub: add initial configurations for OpenShift

... staging and production instances.

Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
This commit is contained in:
Siteshwar Vashisht 2023-11-14 10:45:38 +01:00 committed by kevin
parent 3230e7526d
commit 1a6ed735d5

View file

@ -0,0 +1,30 @@
- name: OpenScanHub
hosts: os_control[0]:os_control_stg[0]
user: root
gather_facts: False
vars:
- ocp4: true
pre_tasks:
- include_vars: dir=/srv/web/infra/ansible/vars/all/ ignore_files=README
roles:
- role: openshift/project
app: openscanhub
description: openscanhub
appowners:
- svashisht
- kevin
tags:
- apply-appowners
when: env == "production"
- role: openshift/project
app: openscanhub
description: openscanhub
appowners:
- svashisht
- kevin
tags:
- apply-appowners
when: env == "staging"