16 lines
449 B
YAML
16 lines
449 B
YAML
- name: Install required packages
|
|
apt:
|
|
name:
|
|
- open-iscsi # required by longhorn
|
|
- nfs-common # required for nfs support
|
|
- iptables # required for docker-in-docker workload support
|
|
|
|
# https://longhorn.io/kb/troubleshooting-volume-with-multipath/
|
|
- name: Disable multipath (for longhorn volumes)
|
|
copy:
|
|
src: multipath.conf
|
|
dest: /etc/multipath.conf
|
|
notify: Restart multipathd
|
|
|
|
- include_tasks: '{{ platform }}.yml'
|