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

@ -693,6 +693,8 @@ Be aware of the following limitations with ``become`` on Windows:
``ansible_winrm_transport`` was either ``basic`` or ``credssp``. This ``ansible_winrm_transport`` was either ``basic`` or ``credssp``. This
restriction has been lifted since the 2.4 release of Ansible for all hosts restriction has been lifted since the 2.4 release of Ansible for all hosts
except Windows Server 2008 (non R2 version). except Windows Server 2008 (non R2 version).
* The Secondary Logon service ``seclogon`` must be running to use ``ansible_become_method: runas``
.. seealso:: .. seealso::

View file

@ -55,6 +55,7 @@ DOCUMENTATION = """
notes: notes:
- runas is really implemented in the powershell module handler and as such can only be used with winrm connections. - 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. - 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 from ansible.plugins.become import BecomeBase