Can you automatically approve a bamboo agent

William Flow February 23, 2022

I have an ansible playbook that creates a ec2 ubuntu instance then install the appropriate packages and copies the bamboo agent jar files and installs it, all works but I have to login to bamboo and approve the agent, is there a way to do this via my script maybe thru an api call?

 

 

Thanks in advance! 

1 answer

1 accepted

1 vote
Answer accepted
Vani
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 24, 2022

Hi William,

Thank you for reaching out to Atlassian Community!

You can enable automatic approval of the agent by clicking 'Disable Remote agent authentication' on the Agents page.

And if you want to secure it you could use the Security token verification for remote agents by clicking 'Enable Security token verification'.

 

image.png

 eg: 

java -Dbamboo.home=/opt/Bamboo/ java -jar atlassian-bamboo-agent-installer-8.0.1.jar http://lb:8085/agentServer/ -t ef33d88bbc981a975f81e4e27b03b7aa4345cbdb 

I hope this is helpful.

Please let us know if you need any help on any issues.

Thanks and Regards,

Vani

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events