whatcanidoforfedora: Create openshift project and app in production cluster
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
080ef69ea5
commit
994af0fe68
1 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue