ansible/roles/ceph-csi-rbd/tasks/main.yaml
2024-05-25 18:12:30 +03:00

13 lines
611 B
YAML

- set_fact:
ceph_csi_rbd_combined_values: "{{ ceph_csi_rbd_default_values | combine(ceph_csi_rbd_values | default({}), recursive=true) }}"
- name: Deploy CSI Ceph RBD {{ ceph_csi_rbd_version }}
kubernetes.core.helm:
create_namespace: true
release_namespace: "{{ ceph_csi_rbd_namespace | default('ceph-csi-rbd') }}"
release_name: "{{ ceph_csi_rbd_name | default('ceph-csi-rbd') }}"
chart_ref: "{{ ceph_csi_rbd_chart_ref }}"
chart_version: "{{ ceph_csi_rbd_version | default(omit) }}"
release_values: "{{ ceph_csi_rbd_combined_values | from_yaml | default(omit) }}"
#wait: true