Role server-basic: prevent the kernel to create a bond insterface on module load
This commit is contained in:
parent
fc6a062559
commit
13b470b5c9
2 changed files with 9 additions and 0 deletions
|
@ -79,6 +79,14 @@
|
||||||
group: root
|
group: root
|
||||||
mode: 0644
|
mode: 0644
|
||||||
|
|
||||||
|
- name: configure bonding module options
|
||||||
|
template:
|
||||||
|
src: modprobe_bond.conf.j2
|
||||||
|
dest: /etc/modprobe.d/bond.conf
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: 0644
|
||||||
|
|
||||||
- name: load dummy module
|
- name: load dummy module
|
||||||
modprobe:
|
modprobe:
|
||||||
name: "dummy"
|
name: "dummy"
|
||||||
|
|
1
roles/server-basic/templates/modprobe_bond.conf.j2
Normal file
1
roles/server-basic/templates/modprobe_bond.conf.j2
Normal file
|
@ -0,0 +1 @@
|
||||||
|
options bonding max_bonds=0
|
Loading…
Reference in a new issue