I'm using community.crypto.luks_device and ansible.posix.mount module to mount encrypted disk to remote servers. Its possible to get warning about boot parameter being ignored due to using opts parameter with noauto in it. In my opinion warning should only be displayed when user has set boot parameter. Because default behaviour is to ignore opts parameter when it includes noauto, there shouldn't warning when boot parameter isn't set.
[WARNING]: Ignore the 'boot' due to 'opts' contains 'noauto'.
SUMMARY
I'm using community.crypto.luks_device and ansible.posix.mount module to mount encrypted disk to remote servers. Its possible to get warning about boot parameter being ignored due to using opts parameter with noauto in it. In my opinion warning should only be displayed when user has set boot parameter. Because default behaviour is to ignore opts parameter when it includes noauto, there shouldn't warning when boot parameter isn't set.
[WARNING]: Ignore the 'boot' due to 'opts' contains 'noauto'.
https://github.com/ansible-collections/ansible.posix/blob/c77c592fc632ecc5ce55b2449bce2f73d96446ae/plugins/modules/mount.py#L742-L743
ISSUE TYPE
COMPONENT NAME
mount module
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS