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

allow local user to create a directory #15

Open
ulvida opened this issue Aug 23, 2023 · 2 comments
Open

allow local user to create a directory #15

ulvida opened this issue Aug 23, 2023 · 2 comments

Comments

@ulvida
Copy link

ulvida commented Aug 23, 2023

At line 18 of tasks/download.yml file shouldn't be added a:

become: false

to let the local user that runs the role, and not the superuser if the role is executed with a become: true, create the local directory to download credentials?

It works with default value,/tmp and if we redefine easyrsa_download_dir as a relative path.

@nkakouros
Copy link
Contributor

Probably you are right. Do you want to create a PR?

@ulvida
Copy link
Author

ulvida commented Aug 23, 2023

Notice that the task used to have a become_user defined that have been suppressed and replaced by clear comments.

This very comment says "Not using become or owner (unless a new directory) ..." but it doesn't address the "new directory" case.

Notice that I propose a become: false that is not only coherent, but also much less intrusive than previous local become management.

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

No branches or pull requests

2 participants