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!
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'.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.