blob: 45612ecd94ee92a8ecc3d6f7c5479b1f127c0f7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
---
- name: Find infiniband interface files
find: paths="/etc/sysconfig/network-scripts/" patterns="ifcfg-ib*"
register: result
- name: Remove infiniband files from sysconfig
file: path="{{ item.path }}" state="absent"
with_items: "{{ result.files }}"
- name: Set udev rules
template: src="00-ibnm.rules.j2" dest="/etc/udev/rules.d/00-ibnm.rules" owner="root" group="root" mode="0644"
- name: Set mellanox options
template: src="mlx.conf.j2" dest="/etc/modprobe.d/mlx.conf" owner="root" group="root" mode="0644"
notify: mlx-reload
|