ansistrano / deploy

Ansible role to deploy scripting applications like PHP, Python, Ruby, etc. in a capistrano style
https://ansistrano.com
MIT License
2.37k stars 343 forks source link

Exclude tests files from Ansible Galaxy #318

Closed tseho closed 5 years ago

tseho commented 5 years ago

Based on the trick from https://github.com/ansible/galaxy/issues/78, I propose a .gitattributes file for excluding tests-related files from Ansible Galaxy.

It's not much but I had an issue with the symlink test/roles/local-ansistrano, I got caught in a loop with rsync --copy-dirlinks because of this relative symlink.

ricardclau commented 5 years ago

A bit of an edge case but nice trick

We just released tag 3.0.1, it would be great if you could confirm your problem disappears with this new release!

tseho commented 5 years ago

@ricardclau I know it's an edge case but thank you for merging.

I've just tried 3.0.1, the role work flawlessly and the symlink is not here anymore.