mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
e0dbe9c98d
* Avoid FileNotFoundError when directories don't exist. * Adds changelog fragment. * Update changelogs/fragments/7717-prevent-modprobe-error.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de>
2 lines
339 B
YAML
2 lines
339 B
YAML
bugfixes:
|
|
- modprobe - listing modules files or modprobe files could trigger a FileNotFoundError if ``/etc/modprobe.d`` or ``/etc/modules-load.d`` did not exist. Relevant functions now return empty lists if the directories do not exist to avoid crashing the module (https://github.com/ansible-collections/community.general/issues/7717).
|