archive - Adding exclusion_patterns option (#2616)

* Adding exclusion_patterns option

* Adding changelog fragment and Python 2.6 compatability

* Minor refactoring for readability

* Removing unneccessary conditional

* Applying initial review suggestions

* Adding missed review suggestion
This commit is contained in:
Ajpantuso 2021-05-31 01:51:29 -04:00 committed by GitHub
commit b6c0cc0b61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 100 additions and 20 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- archive - added ``exclusion_patterns`` option to exclude files or subdirectories from archives (https://github.com/ansible-collections/community.general/pull/2616).