- set_fact: metrics_server_combined_values: "{{ metrics_server_default_values | combine(metrics_server_values, recursive=true) }}" - name: Deploy Metrics server kubernetes.core.helm: create_namespace: true release_namespace: "{{ metrics_server_namespace | default('metrics-server') }}" release_name: "{{ metrics_server_name | default('metrics-server') }}" chart_ref: "{{ metrics_server_chart | default('bitnami/metrics-server') }}" chart_version: "{{ metrics_server_version | default(omit) }}" release_values: "{{ metrics_server_combined_values | from_yaml }}"