Hello,

"become: yes" means you need to become a different user than the user used
to connect. By default "root" as is normally used to elevate privileges.
"*become_user: postgres*" if you need a different user, other than
connecting user or root.

On Tue, Mar 2, 2021 at 12:25 AM Istvan Kis <[email protected]> wrote:

> I am just starting to learn Ansible as I need it for my current job.
> I am kind of disappointed.
> Why can't:
>
> *become: yesbecome_user: root*
> Just be:
> *user: root*
> Can you become anything else other than a user?
>
> --
> 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/90c7917a-0804-4332-8b92-fd76a296257en%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/90c7917a-0804-4332-8b92-fd76a296257en%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAEAA%3Dtsfz8QM6OpuF5K7OBv5HhfskyHP-aMPy8KxC7XFena24g%40mail.gmail.com.

Reply via email to