as a workaround, you can change the file permission on linux to act as root 
for your target area.

On Friday, February 7, 2020 at 2:45:02 AM UTC-8, Poemy wrote:
>
> I have an ansible playblook running some tasks for my user, which I log in 
> through ssh.
>
> The user has root privileges by running following command in the terminal:
> dzdo su -
>
> It's actually the only way (no sudo, no root password) to get root access.
>
> Now, what I want to do is to switch my user to root at a certain point in 
> my ansible-playbook, using this *dzdo su -* behavior. 
>
> How to do this?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/032c5586-2d91-4e57-8d15-9db8b4e83540%40googlegroups.com.

Reply via email to