Hi Ted, We'd be happy to consider a pull request to ansible/ansible-modules-core
(We would like to avoid cluttering up the tracker with feature requests as usually folks are unlikely to scratch itches of others) ansible-devel list is the right forum to discuss what form this maybe should take. Thanks! On Thu, Oct 23, 2014 at 4:28 PM, Ted Zlatanov <[email protected]> wrote: > On Thu, 23 Oct 2014 15:03:22 -0400 Ted Zlatanov <[email protected]> wrote: > > TZ> On Thu, 23 Oct 2014 14:37:06 -0400 Ted Zlatanov <[email protected]> > wrote: > TZ> I'd like to snapshot EC2 volumes only when needed. I couldn't find an > TZ> easy solution that didn't require calling out to boto or other tools. > TZ> If it exists, please ignore the following :) I wanted to ask here > TZ> before opening a feature or pull request. > > TZ> Alternate suggestion for this new behavior: copy the ec2 module's count > TZ> options. It would add these options to ec2_snapshot.py: > ... > > Final suggestion :) > > boto has a nice `trim_snapshots()` method [1] that could simply be > called inline, given appropriate parameters from the ec2_snapshot > module. I could use that too, but it seems much less flexible than the > ec2 module's exact_count/count_tag approach. > > Thanks! > Ted > > [1] > http://boto.readthedocs.org/en/latest/ref/ec2.html#boto.ec2.connection.EC2Connection.trim_snapshots > > -- > 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/m238aefs4f.fsf%40lifelogs.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/CA%2BnsWgxVeK%2BLCjMWtn4G%2BCo9vkctnTG6dOsH%3D2yARwZP97XESA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
