Refs #8025: Refactor-awx - Blacklist task - Add module to blacklist.conf

This commit is contained in:
Xavi Lleó 2024-10-23 15:25:12 +02:00
parent a7b4c97a38
commit ad2bf6ebb6
3 changed files with 11 additions and 0 deletions

View File

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

View File

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

View File

@ -4,3 +4,5 @@
tags: hotplug
- import_tasks: autofs.yml
tags: autofs
- import_tasks: blacklist.yml
tags: blacklist