Good day.
I have a sudo user(user1) on the server and i need to run a task as another 
unprivilleged user(user2). A dont know a password for user2 and regular way 
to run something as user2 that login as user1 run "sudo -i", run "su user2" 
and run something else.
And now a qestion, how can i do this in play book?

-- 
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 post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/0031ec91-2454-4b36-8e00-6b872203d32f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to