archive - Adding exclusion_patterns option (#2616) (#2686)

* 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

(cherry picked from commit b6c0cc0b61)

Co-authored-by: Ajpantuso <ajpantuso@gmail.com>
This commit is contained in:
patchback[bot]
2021-05-31 08:16:40 +02:00
committed by GitHub
parent 6590f5e082
commit e74ea7c8b8
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).