runas – Run As user¶
New in version 2.8.
Synopsis¶
- This become plugins allows your remote/login user to execute commands as another user via the windows runas facility.
Parameters¶
Notes¶
Note
- runas is really implemented in the powershell module handler and as such can only be used with winrm connections.
- This plugin ignores the ‘become_exe’ setting as it uses an API and not an executable.
- The Secondary Logon service (seclogon) must be running to use runas
Status¶
- This become is not guaranteed to have a backwards compatible interface. [preview]
- This become is maintained by the Ansible Community. [community]
Authors¶
- ansible (@core)
Hint
If you notice any issues in this documentation, you can edit this document to improve it.
Hint
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.