Open SWADESNA opened 4 years ago
We were using 1.0.23 -- didn't have this unknown error, but now we have 1.0.25, and it's randomly happening. Sometimes automation retrieves the password successfully, and sometimes that same automation not. Only time is different.
UPD: Not true. Error happens with any of these cyberark.pas versions. All depends on ansible --version. Please see my another message below.
@cyberark-bizdev @infamousjoeg
No, please disregard my previous message, no matter which cyberark.pas we use 1.0.23 or 1.0.25 -- the error still randomly happens. We currently found out, that the error sometimes happens if we try to retrieve password with ansible version later than 2.15.2. If we're trying to retrieve password with ansible core 2.15.3 -- 2.15.10 -- it fails with error above. But with 2.14.0 - 2.15.2 it always works.
SUMMARY
While trying to retrieve credential from Cyberark using cyberark_credential module the error thrown is misleading.
We can enhance the error thrown, to something which makes it clear or obvious that the issue lies with incorrect proxy configuration & not with Cyberark side.
ADDITIONAL INFORMATION This would be helpful for Customers using cyberark.pas.cyberark_credential plugin from cyberark.pas collection