openscanhub: add initial configurations for OpenShift
... staging and production instances. Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com>
This commit is contained in:
parent
3230e7526d
commit
1a6ed735d5
1 changed files with 30 additions and 0 deletions
30
playbooks/openshift-apps/openscanhub.yml
Normal file
30
playbooks/openshift-apps/openscanhub.yml
Normal 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"
|
Loading…
Add table
Add a link
Reference in a new issue