ansible-collections / community.general

Ansible Community General Collection
https://galaxy.ansible.com/ui/repo/published/community/general/
GNU General Public License v3.0
816 stars 1.5k forks source link

community.general.filesystem should support "fat" for fstype in addition to "vfat" #8488

Open jabl opened 3 months ago

jabl commented 3 months ago

Summary

The community.general.filesystem module allows specifying "vfat" as the fstype parameter, in order to create a FAT filesystem. This uses mkfs.vfat from https://github.com/dosfstools/dosfstools . However that project prefers mkfs.fat , and at build time requires a separate --enable-compat-symlinks configure option to also create mkfs.vfat. At some point maybe Linux distros will stop having that option enabled in their dosfstools packages.

Thus community.general.filesystem should follow upstream and at least allow specifying "fat" as the fstype. (Obviously "vfat" still needs to be retained to allow compatibility with existing playbooks.)

Issue Type

Feature Idea

Component Name

filesystem

Additional Information

Code of Conduct

ansibullbot commented 3 months ago

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help

ansibullbot commented 3 months ago

cc @abulimov @pilou- @quidame click here for bot help