Skip to content
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

fix: use stat.pw_name, stat.gr_name instead of owner, group #377

Merged
merged 1 commit into from
Aug 17, 2023

Commits on Aug 17, 2023

  1. fix: use stat.pw_name, stat.gr_name instead of owner, group

    Cause: The fields `stat.owner` and `stat.group` do not exist.
    
    Consequence: The crypttab was always being set to owner/group root.
    
    Fix: Use the correct fields `stat.pw_name` and `stat.gr_name`.
    
    Result: Owner and group of crypttab are preserved.
    
    See https://docs.ansible.com/ansible/2.9/modules/stat_module.html#return-stat/gr_name
    
    Signed-off-by: Rich Megginson <[email protected]>
    richm committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    ef7778e View commit details
    Browse the repository at this point in the history