Unless things have changed recently, AWS S3 lifecycle policies do not 
support arbitrary exclude rules.  So the lifecycle module will not be able 
to provide this functionality.

Lifecycle policies can match dates and prefixes.  To make use of lifecycles 
policies, you should use prefixes in a way that will match policies you 
want.

On Tuesday, October 25, 2016 at 3:18:37 AM UTC-7, Benjamin Copeland wrote:
>
> Hello All,
>
> I want to be able to use the S3 lifecycle module 
> <http://docs.ansible.com/ansible/s3_lifecycle_module.html> to have 
> *exclude* rules? I want to be able to delete most files in a bucket, but 
> exclude a couple of folders.
>
> I want to be able to setup lifecycle rules for every file in a bucket, 
> apart from a handful of items.
>
> 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/7249ca15-167e-48b8-9f23-43e13a618beb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to