Compare commits

..

1 commit

Author SHA1 Message Date
Mandar Kulkarni
c33d82cae0
Merge c401a5d331 into 1b9ae1c77f 2024-11-22 00:25:47 +01:00
2 changed files with 1 additions and 4 deletions

View file

@ -1,3 +0,0 @@
---
bugfixes:
- mount - If a comment is appended to a fstab entry, state present creates a double-entry (https://github.com/ansible-collections/ansible.posix/issues/595).

View file

@ -303,7 +303,7 @@ def _set_mount_save_old(module, args):
continue continue
fields = line.split('#')[0].split() fields = line.split()
# Check if we got a valid line for splitting # Check if we got a valid line for splitting
# (on Linux the 5th and the 6th field is optional) # (on Linux the 5th and the 6th field is optional)