community.general.sudosu become – Run tasks using sudo su -
This become plugin is part of the community.general collection (version 8.4.0).
You might already have this collection installed if you are using the
It is not included in
To check whether it is installed, run
ansible-galaxy collection list.
To install it, use:
ansible-galaxy collection install community.general.
To use it in a playbook, specify:
New in community.general 2.4.0
This become plugin allows your remote/login user to execute commands as another user via the
Options to pass to