If you have credentials to the host, you might create parametrized bamboo job like "bootstrap.box" , which will execute small playbook to configure new box for bamboo (like add keys, perhaps create some user and so on)
On Wednesday, 20 July 2016 17:53:31 UTC+3, ZillaYT wrote: > > I saw this post, but my problem is different. > > https://groups.google.com/forum/#!searchin/ansible-project/ansible$20in$20bamboo/ansible-project/BvITeLL0hiA/orjip4bMAgAJ > > I have Bamboo agents that runs scripts under a "bamboo" user. Now this > bamboo user needs to run ansible playbooks on a newly-created server. > However, this newly-created server does NOT have the bamboo user's ssh > public key yet. So what is the recommended way of adding bamboo user's > public key to the newly-created server's /home/bamboo/.ssh/authorized_keys > file? Do I just create an image with it there already? > > Thanks > > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/5dbcbf4c-4194-4e2a-8052-bb03a48fc70d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.