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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/41a24067-fa62-4224-b3aa-41b6070bccdc%40googlegroups.com.

Reply via email to