Refs #8025: Refactor-awx - Blacklist task - Add module to blacklist.conf
This commit is contained in:
parent
a7b4c97a38
commit
ad2bf6ebb6
|
@ -4,3 +4,5 @@ autofs_packages:
|
||||||
- autofs
|
- autofs
|
||||||
- libnfs-utils
|
- libnfs-utils
|
||||||
- autofs-ldap
|
- autofs-ldap
|
||||||
|
blacklist: |
|
||||||
|
blacklist snd_hda_intel
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
- name: Configure blacklist modprobe on VM
|
||||||
|
copy:
|
||||||
|
content: "{{ blacklist }}"
|
||||||
|
dest: /etc/modprobe.d/blacklist.conf
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: u=rw,g=r,o=r
|
|
@ -4,3 +4,5 @@
|
||||||
tags: hotplug
|
tags: hotplug
|
||||||
- import_tasks: autofs.yml
|
- import_tasks: autofs.yml
|
||||||
tags: autofs
|
tags: autofs
|
||||||
|
- import_tasks: blacklist.yml
|
||||||
|
tags: blacklist
|
||||||
|
|
Loading…
Reference in New Issue