If you have came across the same error as I did ( error below ) then solving this might be easier than you think
TASK [Test credstash lookup plugin -- get the password with a context defined here] *********************************************************************************************************************************************************************************************** objc[6763]: +[__NSPlaceholderDate initialize] may have been in progress in another thread when fork() was called. objc[6763]: +[__NSPlaceholderDate initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.
You just need to run the following ( https://github.com/ansible/ansible/issues/31869 )
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES