I am trying to use s3_sync to upload files from local git repository to S3 
without the .git directory. I tried the exclude parameter with different 
variations such as ".git,.git/*,*.git*/*"

This is the line that I tested (with dummy values):

s3_sync: aws_access_key="xxx" aws_secret_key="xxx" bucket="somes3bucket" 
file_root=/path/ exclude=".git,.git/*,*.git*/*" mode=push delete=yes

Anyone has had any success with excluding folders?

-- 
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/f9cb2cc2-a6e1-4b2a-81f4-326ab6aa6a7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to