mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-29 06:43:11 +00:00
* fixing metrics-utility variables and conditionals * separating metrics-utility for console into separate tasks and conditionals
12 lines
429 B
YAML
12 lines
429 B
YAML
---
|
|
- name: Create metrics-utility Kubernetes CronJob for Red Hat Hybrid Cloud Console
|
|
kubernetes.core.k8s:
|
|
definition: "{{ lookup('template', item.template) }}"
|
|
apply: true
|
|
wait: true
|
|
vars:
|
|
cronjob_name: "{{ item.name }}"
|
|
metrics_utility_ship_target: crc # TODO - Update to console when changed
|
|
loop:
|
|
- {name: 'metrics-utility-gather-console', template: 'cronjobs/metrics-utility-gather.yaml.j2'}
|