Role server-basic: prevent the kernel to create a bond insterface on module load

This commit is contained in:
Tobias Hachmer 2019-03-24 20:20:57 +01:00
parent fc6a062559
commit 13b470b5c9
No known key found for this signature in database
GPG key ID: E112788464CA5C60
2 changed files with 9 additions and 0 deletions

View file

@ -79,6 +79,14 @@
group: root
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
modprobe:
name: "dummy"

View file

@ -0,0 +1 @@
options bonding max_bonds=0