Skip to content
Snippets Groups Projects
Verified Commit 5456f6d3 authored by Rafael László's avatar Rafael László :speech_balloon:
Browse files

Add drbd multipath blacklist to kube nodes

parent cfa72fa1
No related branches found
No related tags found
No related merge requests found
Pipeline #42731 passed
......@@ -20,3 +20,16 @@
state: present
key: "{{ item }}"
loop: "{{ ssh_keys }}"
- name: Ensure /etc/multipathfolder exists
file:
path: /etc/multipath
state: directory
- name: Ensure /etc/multipath/conf.d folder exists
file:
path: /etc/multipath/conf.d
state: directory
- name: Blacklist multipath for drbd
template:
src: etc/multipath/conf.d/drbd.conf
dest: /etc/multipath/conf.d/drbd.conf
mode: 0644
blacklist {
devnode "^drbd[0-9]+"
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment