- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
09-17-2019 06:27 AM
Dear Community,
we are trying to integrate Ansible with CyberArk.
There is an option to test the credentials via the Ansible Web GUI, but it simply does not work.
If I manually via CLI test the query it works, but not via the test function of the GUI.
Could someone point us to the right direction, how we could test and configure it?
Thank you.
Setup:
Test:
10-07-2019 04:52 AM
We recently resolved what I believe maybe the same issue. Try changing the CyberArk AIM URL to only be primary web address without any of the extensions, https://pvwa-test.XXXXXXXXX. AWX will add the rest. The second issue we had was our Ansible team was adding "" to the queries, that is also unnecessary.
10-03-2019 09:47 AM
Is there an error on your CCP (either the APPAudit.log or IIS log)?
10-07-2019 04:52 AM
We recently resolved what I believe maybe the same issue. Try changing the CyberArk AIM URL to only be primary web address without any of the extensions, https://pvwa-test.XXXXXXXXX. AWX will add the rest. The second issue we had was our Ansible team was adding "" to the queries, that is also unnecessary.
10-09-2019 02:11 AM
Hi,
we already solved, but thanks for the answer.
12-13-2019 01:38 AM
@Balazs Racz could you post the solution for the benefit of others following this thread. thanks
12-13-2019 03:37 AM
Hi, sorry, I can't, I was not involved with that anymore.
01-09-2020 11:51 AM
I have the same issue. I used only the CCP primary URL, I tried no " " in the query, it still showed "Test Failed." I couldn't find the attempt entries from event viewer, IIS log or CCP logs on the CCP server which means the test might not hit the CCP server. I am able to retrieve the password using playbook on the ansible tower for the same query as the test for credential( same CCP URL, same app ID, safe and object). Anyone knows what might be the problem? which log can I check on the ansible server?
02-18-2020 03:34 AM
@Helen Du , @Tanner Webb
We are trying to integrate Ansible tower . which authentication method did you use ?
We have Basic and certificate Authentication enabled at IIS level on CP/CCP server but we do not see any fields related to Username or password in Ansible Web configuration (attached image) . what's the best/recommended authentication method here ?
TIA
02-18-2020 07:07 AM
We tried testing with a user with superuser privilege, the test was successful, but test with admin user failed. Anyone knows what might cause this?
02-18-2020 07:15 AM
Hello, will you use CP or CCP?
you may find some info from https://lp.cyberark.com/rs/316-CZP-275/images/How%20to%20Secure%20Ansible%20Automation%20Environment...
02-18-2020 07:10 PM
CCP.
Thanks for sharing @Helen Du will have a look.
06-05-2020 07:18 AM
Hi, thanks! this made the test successful for us
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

