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

Implement sudo #20

Open
danlorb opened this issue Jan 11, 2021 · 2 comments
Open

Implement sudo #20

danlorb opened this issue Jan 11, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@danlorb
Copy link

danlorb commented Jan 11, 2021

Hi there,

for the Resources linuxbox_binary_file, linuxbox_directory and linuxbox_text_file it will be nice to add a bool Argument 'sudo'. When this Argument is true, then the Resource will use sudo to execute his actions.
Greetings
Roland

@draganm draganm added the enhancement New feature or request label Jan 16, 2021
@zimbatm
Copy link
Member

zimbatm commented Mar 18, 2022

good idea

@zimbatm
Copy link
Member

zimbatm commented Mar 23, 2022

to describe the problem a bit more; I was using the linuxbox_text_file with a non-root user. The resource accepts an owner and group argument. Those MUST be the same as the SSH user, otherwise, the resource fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants