did you write the module?

btw, for cloning it should be enough to support deploy keys.

Em terça-feira, 31 de dezembro de 2013 13:09:13 UTC-2, bryan hunt escreveu:
>
>
> Not for performing VCS tasks but for talking directly to the bitbucket 
> rest API. 
>
> http://restbrowser.bitbucket.org
>
> In order to add the ssh keys from the freshly created VM instance.
>
> POST https://bitbucket.org/api/1.0/users/{accountname}/ssh-keys/
>
>
> On Tuesday, December 31, 2013 3:02:56 PM UTC, Michael DeHaan wrote:
>>
>> Seeing you said "module", why is the hg module not sufficient for talking 
>> to bitbucket?
>>
>>
>>
>>
>> On Tue, Dec 31, 2013 at 9:35 AM, bryan hunt <picsol...@gmail.com> wrote:
>>
>>>
>>> Hi there, 
>>>
>>> It's my intention to write a bitbucket module for Ansible.
>>>
>>> The use case is :
>>>
>>> Create a local VM using vagrant, provisioned by Ansible.
>>>
>>> Using Ansible: 
>>>
>>> 1 Generate a SSH key-pair on that machine. 
>>>
>>> 2 Take the freshly generated Public Key and load it into my Bitbucket 
>>> account, using the bitbucket-api python module.
>>>
>>> 3 Check out a bunch of projects that I want R/W access to from within 
>>> the VM.
>>>
>>> Then I vagrant ssh into that box, and profit!
>>>
>>> I've got most of the pieces worked out, but have a couple of questions 
>>> regarding approach. 
>>>
>>> I'd like to create a proper Ansible module to handle B itb uc ket but 
>>> for now I'd like to just create a quick script. 
>>>
>>> I believe local_action is the syntax to use for running commands on my 
>>> local machine. 
>>>
>>> Now, I could fetch the ~/.ssh/id_pub.rsa file from the remote VM, and 
>>> store it on my hard drive somewhere like /tmp/vm.id_pub.rsa, 
>>> but ideally I'd like to either pipe it into the script I'm going to 
>>> write or supply it as a quoted command line argument. 
>>>
>>> Can this be done (taking the entire contents of a remote file and 
>>> storing it into a variable) ? 
>>>
>>> Bryan
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>  -- 
>>> 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-proje...@googlegroups.com.
>>> To post to this group, send email to ansible...@googlegroups.com.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>
>>
>> -- 
>> Michael DeHaan <mic...@ansibleworks.com>
>> CTO, AnsibleWorks, Inc.
>> http://www.ansibleworks.com/
>>
>> 

-- 
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/0ceff3a1-54a6-49d5-a272-d3a0afd11b6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to