ansible/playbooks/openshift-apps/test-auth.yml
Ryan Lerch 4dea370c66
[ansible-lint] prefix variable names for openshift/route role
ansible-lint requires that variables for roles are prefixed with the
name of the role. This commit prefixes the variables for the
openshift/route role with route_ as required by ansible-lint

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-12-03 10:48:45 +01:00

68 lines
1.8 KiB
YAML

---
- name: Make the app be real
hosts: os_masters[0]:os_masters_stg[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
project_app: test-auth
project_description: "Authentication testing"
project_appowners:
- abompard
tags:
- apply-appowners
- role: openshift/imagestream
app: test-auth
imagename: test-auth
- role: openshift/object
object_app: test-auth
object_template: buildconfig.yml
object_objectname: buildconfig.yml
- role: openshift/object
object_app: test-auth
object_template: configmap.yml
object_objectname: configmap.yml
- role: openshift/object
object_app: test-auth
object_file: service.yml
object_objectname: service.yml
# - role: openshift/route
# route_app: test-auth
# route_routename: test-auth
# route_host: "admin{{ env_suffix }}.fedoraproject.org"
# route_path: "/test-auth"
# route_serviceport: web
# route_servicename: test-auth
# route_annotations:
# haproxy.router.openshift.io/timeout: 5m
- role: openshift/route
route_app: test-auth
route_routename: test-auth
route_host: "test-auth.apps.ocp{{ env_suffix }}.fedoraproject.org"
route_serviceport: web
route_servicename: test-auth
route_annotations:
haproxy.router.openshift.io/timeout: 5m
- role: openshift/object
object_app: test-auth
object_template: secret-webhook.yml
object_objectname: secret-webhook.yml
- role: openshift/object
object_app: test-auth
object_template: deploymentconfig.yml
object_objectname: deploymentconfig.yml