Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bitbucket On-Prem Webhook to Ansible Tower

Nicolas Sicard
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 3, 2022

Hi , 

I want to start a playbook in Ansible tower when I have a merge but is not working.

I use webhook with my URL and I add the Bearer token in secret field , for exemple : 

Name : test-webhook
UR: https://test-url.mydomaine.com/api/v2/job_templates/260/launch
Secret: Authorization: Bearer $mytoken

But I receive a 401 : 

{"detail":"Authentication credentials were not provided. To establish a login session, visit /api/login/."}

Do you have an idea ? 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events