Hi James,
thanks for your reply. That actually was me!

I might still pursue adding the option as my first contribution as I'm 
trying to learn more about developing Ansible modules.

On Friday, November 7, 2014 7:47:37 AM UTC-8, James Cammarata wrote:
>
> Hi Carlos,
>
> We actually had someone bring this up in IRC the other day (perhaps it was 
> you?), asking if they could pursue adding the option to delete the volumes 
> as a specific parameter for the module too, so be on the lookout for that. 
> Beyond that, if you continue seeing any problems with this, please let us 
> know.
>
> Thanks!
>
> On Wed, Nov 5, 2014 at 5:31 PM, Carlos V <[email protected] <javascript:>
> > wrote:
>
>> I actually found that by specifying the volume as /dev/sda instead of 
>> /dev/sda1, it enables the "delete_on_termination" flag for the primary 
>> volume.
>>
>>
>> On Monday, November 3, 2014 1:55:11 AM UTC-8, Carlos V wrote:
>>>
>>> Hello all,
>>> I've been experimenting with the Ansible ec2 modules and I'm looking for 
>>> a way to set the default volume created to have the "delete on termination" 
>>> option set.
>>>
>>> I found these volume options:
>>>
>>>         volumes:
>>>           - device_name: /dev/sda1
>>>             volume_size: 512
>>>             delete_on_termination: true
>>>
>>>
>>> but this seems to create a secondary volume and only that one is set to 
>>> delete on termination. How can I do the same thing for the volume created 
>>> with the instance? I don't want a secondary volume in this case.
>>>
>>> Any help is appreciated, 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/4bd82a37-a258-41e6-ac54-0115ffde62e7%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/ansible-project/4bd82a37-a258-41e6-ac54-0115ffde62e7%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 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/b4af96dd-770b-403c-a35a-007ebdacce3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to