>From memory, the bamboo boot process doesn't allow any boot strapping for
running user data scripts, it hides/locks that away.

https://confluence.atlassian.com/bamboo/configuring-elastic-bamboo-289277120.html

As has been suggested, run a prior job to set up the users details, or
follow your suggestion of creating a custom AMI.

https://confluence.atlassian.com/bamboo/creating-a-custom-elastic-image-289277146.html

On 18 July 2016 at 17:28, ZillaYT <[email protected]> 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 [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/5335722a-8da1-48d7-a3a7-66892f31538a%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/5335722a-8da1-48d7-a3a7-66892f31538a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Steve

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CA%2Bemtqunv_FaatAEEE8%3DuiJR4TZouDxbtPCXaOCRrMAaqGt-Zg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to