Merge pull request '8025-refactor-awx_blacklist_conf_modprobe' (!38) from 8025-refactor-awx_blacklist_conf_modprobe into main

Reviewed-on: #38
Reviewed-by: Juan Ferrer <juan@verdnatura.es>
This commit is contained in:
Xavi Lleó 2024-10-25 11:46:00 +00:00
commit e103e29b96
3 changed files with 11 additions and 0 deletions

View File

@ -4,3 +4,5 @@ autofs_packages:
- autofs - autofs
- libnfs-utils - libnfs-utils
- autofs-ldap - autofs-ldap
blacklist_module_kernel: |
blacklist snd_hda_intel

View File

@ -0,0 +1,7 @@
- name: Configure blacklist modprobe on VM
copy:
content: "{{ blacklist_module_kernel }}"
dest: /etc/modprobe.d/vn-blacklist.conf
owner: root
group: root
mode: u=rw,g=r,o=r

View File

@ -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