whatcanidoforfedora: Create openshift project and app in production cluster

Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
Clement Verna 2019-01-08 20:25:32 +01:00
parent 080ef69ea5
commit 994af0fe68

View file

@ -1,5 +1,5 @@
- name: make the app be real
hosts: os-masters-stg[0]
hosts: os-masters-stg[0]:os-masters[0]
user: root
gather_facts: False
@ -43,6 +43,14 @@
servicename: asknot
when: env == "staging"
- role: openshift/route
app: asknot
routename: asknot
host: "whatcanidoforfedora.org"
serviceport: 8080-tcp
servicename: asknot
when: env == "production"
- role: openshift/object
app: asknot
file: deploymentconfig.yml