1
0
Fork 0
home-stack-ansible/roles/k3s/tasks/main.yml

26 lines
767 B
YAML

- name: Install required packages
apt:
name:
- open-iscsi # required by longhorn
- nfs-common # required by longhorn
- nfs-client # required by longhorn
- cryptsetup # required by longhorn
- dmsetup # required by longhorn
- iptables # required for docker-in-docker workload support
# https://longhorn.io/kb/troubleshooting-volume-with-multipath/
# - name: Disable multipathd (for longhorn volumes)
# copy:
# src: multipath.conf
# dest: /etc/multipath.conf
# notify: Restart multipathd
- name: Disable multipathd (for longhorn volumes)
systemd:
name: multipathd
state: stopped
enabled: no
ignore_errors: true # a node may not have multipathd installed
- include_tasks: '{{ platform }}.yml'