-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mount module does not add mountpoint correctly if /etc/fstab does not end with a newline #210
Comments
saito-hideki
added
bug
This issue/PR relates to a bug.
has_pr
verified
This issue has been verified/reproduced by maintainer
labels
Jul 28, 2021
ansible-zuul bot
added a commit
that referenced
this issue
Sep 27, 2021
mount - add a newline at the end of line in fstab SUMMARY Modify mount module to add a newline at the end of line in /etc/fstab. Fixes #210 ISSUE TYPE Bugfix Pull Request COMPONENT NAME ansible.posix.mount ADDITIONAL INFORMATION None Reviewed-by: Abhijeet Kasurde <None> Reviewed-by: Hideki Saito <[email protected]> Reviewed-by: quidame <None> Reviewed-by: None <None>
1 task
1 task
1 task
1 task
1 task
1 task
1 task
ghost
mentioned this issue
May 23, 2022
1 task
1 task
1 task
1 task
This was referenced May 23, 2022
Closed
1 task
This was referenced May 28, 2022
Closed
Closed
This was referenced Jun 4, 2022
This was referenced Jun 18, 2022
This was referenced Jul 31, 2022
Closed
This was referenced Sep 14, 2022
1 task
1 task
1 task
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SUMMARY
mount module does not add mountpoint correctly if /etc/fstab does not end with a newline.
ISSUE TYPE
COMPONENT NAME
ANSIBLE VERSION
CONFIGURATION
[1] ansible.cfg
[2] Playbook
[3] There is no newline at the end of file of /etc/fstab:
OS / ENVIRONMENT
STEPS TO REPRODUCE
Launch playbook [2] to manage /etc/fstab [3]
EXPECTED RESULTS
mount succeeded and new mountpoint added to /etc/fstab correctly:
ACTUAL RESULTS
mount succeeded, but incorrect mountpoint was added to /etc/fstab:
The text was updated successfully, but these errors were encountered: