summaryrefslogtreecommitdiffstats
path: root/roles/openshift_sanitize_inventory/tasks/__deprecations_metrics.yml
blob: 2796469816fa065993ed63f65a61a0db2e28f614 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
# this is used to set the metrics variables from deprecated values to the current variables names
# this file should be deleted once variables are no longer honored

- conditional_set_fact:
    facts: "{{ hostvars[inventory_hostname] }}"
    vars:
      openshift_metrics_storage_access_modes: openshift_hosted_metrics_storage_access_modes
      openshift_metrics_storage_host: openshift_hosted_metrics_storage_host
      openshift_metrics_storage_nfs_directory: openshift_hosted_metrics_storage_nfs_directory
      openshift_metrics_storage_volume_name: openshift_hosted_metrics_storage_volume_name
      openshift_metrics_storage_volume_size: openshift_hosted_metrics_storage_volume_size
      openshift_metrics_storage_labels: openshift_hosted_metrics_storage_labels
      openshift_metrics_image_prefix: openshift_hosted_metrics_deployer_prefix
      openshift_metrics_image_version: openshift_hosted_metrics_deployer_version
      openshift_metrics_install_metrics: openshift_hosted_metrics_deploy
      openshift_metrics_storage_kind: openshift_hosted_metrics_storage_kind