Runas docs (#60082)

* Mention seclogon requirement in runas docs

* Mention seclogon requirement in Win become docs
This commit is contained in:
kfattig 2019-08-05 19:44:17 -05:00 committed by Jordan Borean
parent fa2adf3b7b
commit dd7b9627ad
2 changed files with 3 additions and 0 deletions

View file

@ -694,6 +694,8 @@ Be aware of the following limitations with ``become`` on Windows:
restriction has been lifted since the 2.4 release of Ansible for all hosts
except Windows Server 2008 (non R2 version).
* The Secondary Logon service ``seclogon`` must be running to use ``ansible_become_method: runas``
.. seealso::
`Mailing List <https://groups.google.com/forum/#!forum/ansible-project>`_

View file

@ -55,6 +55,7 @@ DOCUMENTATION = """
notes:
- 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
"""
from ansible.plugins.become import BecomeBase