1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

add Windows docs for winrm automatic kerb ticket mgmt (#24456)

This commit is contained in:
Matt Davis 2017-05-10 16:22:54 -07:00 committed by GitHub
parent e855274dc8
commit 0f4026d626

View file

@ -178,6 +178,15 @@ To see what tickets if any you have acquired, use the command klist
klist klist
Automatic kerberos ticket management
------------------------------------
Ansible defaults to automatically managing kerberos tickets (as of Ansible 2.3) when both username and password are specified for a host that's configured for kerberos. A new ticket is created in a temporary credential cache for each host, before each task executes (to minimize the chance of ticket expiration). The temporary credential caches are deleted after each task, and will not interfere with the default credential cache.
To disable automatic ticket management (e.g., to use an existing SSO ticket or call ``kinit`` manually to populate the default credential cache), set ``ansible_winrm_kinit_mode=manual`` via inventory.
Automatic ticket management requires a standard ``kinit`` binary on the control host system path. To specify a different location or binary name, set the ``ansible_winrm_kinit_cmd`` inventory var to the fully-qualified path to an MIT krbv5 ``kinit``-compatible binary.
Troubleshooting kerberos connections Troubleshooting kerberos connections
------------------------------------ ------------------------------------