You are reading an unmaintained version of the Ansible community documentation. Unmaintained Ansible versions can contain security vulnerabilities (CVEs). Please upgrade to a maintained version. See the latest Ansible documentation. Note that this statement does not apply to Red Hat Ansible Automation Platform subscriptions. See the Ansible Automation Platform Life Cycle.
This become plugin is part of ansible-core and included in all Ansible
installations. In most cases, you can use the short
plugin name
runas.
However, we recommend you use the Fully Qualified Collection Name (FQCN)ansible.builtin.runas for easy linking to the
plugin documentation and to avoid conflicting with other collections that may have
the same become plugin name.
Configuration entries for each entry type have a low to high priority order. For example, a variable that is lower in the list will override a variable that is higher up.