blob: 214089732fcc949d437790b1393d272e3c65ac30 (
plain)
1
2
3
4
5
6
7
8
9
10
|
---
# The kubernetes version impacts the prometheus scraping endpoint
# so gathering it before constructing the configmap
- name: get oc version
oc_version:
register: oc_version
- set_fact:
kubernetes_version: "{{ oc_version.results.kubernetes_short | float }}"
openshift_prometheus_serviceaccount_annotations: "{{ l_openshift_prometheus_serviceaccount_annotations + openshift_prometheus_serviceaccount_annotations|list }}"
|