mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-08-01 20:34:45 +00:00
Compare commits
1 Commits
eccbe1116b
...
e0d3050c61
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e0d3050c61 |
@@ -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).
|
||||
@@ -303,7 +303,7 @@ def _set_mount_save_old(module, args):
|
||||
|
||||
continue
|
||||
|
||||
fields = line.split('#')[0].split()
|
||||
fields = line.split()
|
||||
|
||||
# Check if we got a valid line for splitting
|
||||
# (on Linux the 5th and the 6th field is optional)
|
||||
|
||||
Reference in New Issue
Block a user