diff --git a/roles/base/files/blacklist-cdc_ether.conf b/roles/base/files/blacklist-cdc_ether.conf new file mode 100644 index 0000000000..415db63935 --- /dev/null +++ b/roles/base/files/blacklist-cdc_ether.conf @@ -0,0 +1 @@ +blacklist cdc_ether diff --git a/roles/base/tasks/main.yml b/roles/base/tasks/main.yml index 78ab1cda25..9f48d28cb0 100644 --- a/roles/base/tasks/main.yml +++ b/roles/base/tasks/main.yml @@ -341,6 +341,17 @@ - config - base +# +# Blacklist the cdc_ether module as we don't want it loading mgmt usb0 and spewing to logs. +# +- name: Blacklist cdc_ether module + copy: src=blacklist-cdc_ether.conf dest=/etc/modprobe.d/blacklist-cdc_ether.conf + when: ansible_virtualization_role == 'host' + tags: + - config + - base + - cdc_ether + # # Watchdog stuff #