ansible/playbooks/openshift-apps/fas-changes.yml
Aurélien Bompard 6a674f5814
Add a tiny app to get the list of recently changed users in FAS
There is unfortunately no other way to get that info, apparently.

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2021-02-05 17:24:04 +01:00

53 lines
1.2 KiB
YAML

- name: make the app be real
hosts: 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
vars:
roles:
- role: openshift/project
app: fas-changes
description: "Get last changed users in FAS"
appowners:
- abompard
tags:
- apply-appowners
- role: openshift/imagestream
app: fas-changes
imagename: fas-changes
- role: openshift/object
app: fas-changes
template: buildconfig.yml
objectname: buildconfig.yml
- role: openshift/object
app: fas-changes
template: configmap.yml
objectname: configmap.yml
- role: openshift/object
app: fas-changes
file: service.yml
objectname: service.yml
- role: openshift/route
app: fas-changes
routename: fas-changes
host: "fas-changes.app.os{{ env_suffix }}.fedoraproject.org"
serviceport: web
servicename: fas-changes
annotations:
haproxy.router.openshift.io/timeout: 5m
- role: openshift/object
app: fas-changes
template: deploymentconfig.yml
objectname: deploymentconfig.yml