Closed speedyT0RT0ISE closed 1 year ago
Does any other task hand with the become settings you've specified. Does it hang if you also provide ansible_become_pass
?
Nope, other tasks dont hang with that, though the other task just uses the win_powershell. Does this ansible_become_pass
require input?
It needs to be the password for the user you want to become. Setting a password changes the become process is slightly different ways which could impact things like accessing the credential manager which is why I want to check if it still hangs.
Ok will try adding that in and seeing if it hangs
SUMMARY
When adding an access token into win credential manager, it sometimes just hangs and freezes. Even with verbose logging enabled, there are no error messages or suggestion as to why it is freezing.
ISSUE TYPE
COMPONENT NAME
community.windows.win_credential
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Am just running it as part of a wider playbook to install and configure git on windows along with some default creds for a git instance
EXPECTED RESULTS
Expected results are that the credentials get added
ACTUAL RESULTS
Nothing to show on what happens... it juts stops and freezes midway through on a random user often. have left it running for upwards of 40 mins sometimes