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

feat: add the possibility to exclude files from an archive when extra… #356

Closed alemorvan closed 4 years ago

alemorvan commented 4 years ago

…cting it (ansible module unarchive - exclude parameter)

I need to exclude some files from an archive when extracting it.

I suggest to use the module's parameter exclude.

It can be use as follow

ansistrano_unarchive_exclude: ['*.pdf','*.xlsx','*.doc']

ricardclau commented 4 years ago

Nice one! Thanks!