You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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!
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'.
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,