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

Added the possibility to define additional sudoers files. #38

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tobiicerb
Copy link

This is helpful as the option purge_other_sudoers_files would also delete our added configuration if we would run the role multiple times.

It works by adding a suffix to the existing variables, for example if you add

     - web

Then one variable to configure this file would look like this:

     - name: www-html

The changes will work with the current master branch, but also together with #36 or #37

This is helpful as the option purge_other_sudoers_files would also delete our added configuration if we would run the role multiple times.
@tobiicerb
Copy link
Author

I just realized that I made a mistake. The alias configurations don't work with additional files at the moment. I will need to investigate why.

@tobiicerb
Copy link
Author

I just realized that I made a mistake. The alias configurations don't work with additional files at the moment. I will need to investigate why.

I fixed the problem inside the other branches. The issue was not caused by this branch.

@tobiicerb tobiicerb closed this Jan 11, 2022
@tobiicerb tobiicerb deleted the sudoers-multiple-files branch January 11, 2022 12:16
@tobiicerb tobiicerb restored the sudoers-multiple-files branch January 11, 2022 12:16
@tobiicerb tobiicerb reopened this Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant