Yes, just move it out of the class but keep it in that module. That's the
way the other shared code modules like ec2 work.
On May 24, 2014 7:06 AM, "Martin Jöhren" <[email protected]> wrote:

> Hi,
> Thanks for the quick answer. One last question: where to better put the
> common_argument_spec? Or do you mean just somewhere else but not in this
> class?
>
> Thx
> On May 24, 2014 1:23 PM, "James Cammarata" <[email protected]> wrote:
>
>> You might want to remove the common_argument_spec() function from your
>> class, as it doesn't really need to be there but beyond that it looks like
>> a good starting point.
>>
>>
>> On Sat, May 24, 2014 at 2:51 AM, Martin Jöhren <[email protected]>wrote:
>>
>>> Hi,
>>>
>>> I just started a small not useful module here (it's just for learning
>>> how things work):
>>> https://github.com/matlockx/ansible/commit/f0eb61e2f3dc938c8d4e77639f20b9f1c39e2fe2
>>> Let me know if i'm on the right track since i'm not really a python dev
>>> and used to be an ansible user only.
>>> When it's ok i start implementing starting and stopping instances.
>>>
>>> Best
>>>
>>> Martin
>>>
>>> Am Freitag, 23. Mai 2014 14:24:21 UTC+2 schrieb Michael DeHaan:
>>>>
>>>> We're very open to pull requests.
>>>>
>>>> I have been approached by some folks interested in working on them.
>>>> Details still TBD.
>>>>
>>>> If this is something you'd like to work on, please do!
>>>>
>>>>
>>>>
>>>>
>>>> On Thu, May 22, 2014 at 11:47 AM, James Cammarata <[email protected]
>>>> > wrote:
>>>>
>>>>> Yes, the AWS/EC2 modules are pretty well used and break the
>>>>> functionality of different parts of their offering into manageable chunks.
>>>>> Definitely don't try to cram every feature Azure supports into a single
>>>>> module. The aws and rax modules also make a good use of the code-reuse
>>>>> functionality we offer, to remove a lot of boilerplate code like
>>>>> authentication, etc.
>>>>>
>>>>>
>>>>> On Thu, May 22, 2014 at 9:30 AM, Martin Jöhren <[email protected]>wrote:
>>>>>
>>>>>> K, thanks for the info. I'll look into that. Good starting point
>>>>>> would be to do it similar like the aws modules right?
>>>>>>
>>>>>> Best regards
>>>>>> Martin
>>>>>>
>>>>>> --
>>>>>> 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/ccf93015-962b-40f2-8d97-
>>>>>> 4057f3268da1%40googlegroups.com.
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>
>>>>>  --
>>>>> 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/CAMFyvFghOaZ1Qh--0nkp9PLoKCM%
>>>>> 2BBrGJguACEsWOCN%3Da8eVNQg%40mail.gmail.com<https://groups.google.com/d/msgid/ansible-project/CAMFyvFghOaZ1Qh--0nkp9PLoKCM%2BBrGJguACEsWOCN%3Da8eVNQg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>  --
>>> 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/f4a22848-b4a4-4c66-98b9-5cd420615833%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/f4a22848-b4a4-4c66-98b9-5cd420615833%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Ansible Project" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/ansible-project/WBLXEUBZl4I/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, 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/CAMFyvFhYygWL5zeQWk-8CbD_go2q7WLwpAGBNt4t42qJ8ydCuw%40mail.gmail.com<https://groups.google.com/d/msgid/ansible-project/CAMFyvFhYygWL5zeQWk-8CbD_go2q7WLwpAGBNt4t42qJ8ydCuw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>  --
> 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/CAKad_%2B3d3NcEc-O7GzROsbxTBN_XU12ZnwUeBGvtU3xw9iiGbw%40mail.gmail.com<https://groups.google.com/d/msgid/ansible-project/CAKad_%2B3d3NcEc-O7GzROsbxTBN_XU12ZnwUeBGvtU3xw9iiGbw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAMFyvFjODjER0x%2BTRsOJgC4cmztpiMNpZ9WJuvxU0xp0dwRF7w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to