ansible/playbooks/openshift-apps/asknot.yml
Kevin Fenzi 8f62e24919 ansible: fix the groups on all the openshift apps
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-20 18:34:20 +00:00

61 lines
1.3 KiB
YAML

- name: make the app be real
hosts: os_masters_stg[0]:os_masters[0]
user: root
gather_facts: False
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
roles:
- role: openshift/project
app: asknot
description: What can I do for Fedora
appowners:
- cverna
- role: openshift/object
app: asknot
template: imagestream.yml
objectname: imagestream.yml
- role: openshift/object
app: asknot
template: buildconfig.yml
objectname: buildconfig.yml
- role: openshift/start-build
app: asknot
buildname: asknot-build
objectname: asknot-build
- role: openshift/object
app: asknot
file: service.yml
objectname: service.yml
- role: openshift/route
app: asknot
routename: asknot
host: "stg.whatcanidoforfedora.org"
serviceport: 8080-tcp
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
objectname: deploymentconfig.yml
- role: openshift/rollout
app: asknot
dcname: asknot