Files
homelab-infrastructure/ansible/roles/kubernetes_longhorn/tasks/main.yaml
T
2026-06-30 23:40:18 +01:00

19 lines
465 B
YAML

- name: Ensure open-iscsi is installed
ansible.builtin.apt:
pkg: open-iscsi
state: present
- name: Ensure Longhorn repository exists
kubernetes.core.helm_repository:
name: longhorn
url: https://charts.longhorn.io
- name: Ensure Longhorn is installed
kubernetes.core.helm:
release_name: longhorn
release_namespace: longhorn-system
chart_ref: longhorn/longhorn
chart_version: 1.12.0
create_namespace: true
run_once: true