Open vbotka opened 1 week ago
@vbotka thanks for the PR!
In accordance with the community guidelines, a changelog fragment file is required for all PR.
So, could you add a changelog fragment file to this PR? You can see more details here: Making your PR merge-worthy
You can write a short description for this PR in the bugfixes
section.
For example: https://github.com/ansible-collections/ansible.posix/blob/main/changelogs/fragments/570_nfs4_acl.yml
changelog fragment file is required
Changelog fragment added to #597. Thank you!
SUMMARY
Given the /tmp/fstab for testing
the module ansible.posix.mount
creates a double-entry
ISSUE TYPE
COMPONENT NAME
ansible.posix.mount
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
Create /tmp/fstab for testing
Run the play
EXPECTED RESULTS
The task should be idempotent. This means, nothing will be changed because the entry in fstab is present
ACTUAL RESULTS
A double entry is created