ansible.builtin.su – Substitute User¶
This module is part of
ansible-core and included in all Ansible
installations. In most cases, you can use the short module name
su even without specifying the
However, we recommend you use the FQCN for easy linking to the module
documentation and to avoid conflicting with other collections that may have
the same module name.
New in version 2.8: of ansible.builtin
This become plugins allows your remote/login user to execute commands as another user via the su utility.