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

26 lines
767 B
YAML
Raw Normal View History

2021-12-15 01:55:52 +00:00
- name: Install required packages
apt:
name:
2022-02-14 16:59:15 +00:00
- open-iscsi # required by longhorn
2025-02-20 00:18:54 +00:00
- 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
2022-02-14 16:59:15 +00:00
# https://longhorn.io/kb/troubleshooting-volume-with-multipath/
2025-02-20 00:18:54 +00:00
# - 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
2021-08-25 04:33:56 +00:00
2021-12-15 01:55:52 +00:00
- include_tasks: '{{ platform }}.yml'