From 554057409ea8ec071e64f1aa2033be874a3544e6 Mon Sep 17 00:00:00 2001 From: Jonathan Neuhauser Date: Sat, 11 Dec 2021 17:34:31 +0100 Subject: [PATCH 1/3] Clarify include parameter in unarchive --- lib/ansible/modules/unarchive.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/unarchive.py b/lib/ansible/modules/unarchive.py index 38eb10bd8c7674..230ebca2f0c203 100644 --- a/lib/ansible/modules/unarchive.py +++ b/lib/ansible/modules/unarchive.py @@ -71,8 +71,8 @@ version_added: "2.1" include: description: - - List of directory and file entries that you would like to extract from the archive. Only - files listed here will be extracted. + - List of directory and file entries that you would like to extract from the archive. If C(include) + is not empty (default), only files listed here will be extracted. - Mutually exclusive with C(exclude). type: list default: [] From 4356ea3a70295924a19544e530d449b7d11212b0 Mon Sep 17 00:00:00 2001 From: Jonathan Neuhauser Date: Sat, 11 Dec 2021 17:42:49 +0100 Subject: [PATCH 2/3] Update unarchive.py --- lib/ansible/modules/unarchive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/unarchive.py b/lib/ansible/modules/unarchive.py index 230ebca2f0c203..e957d34d81a708 100644 --- a/lib/ansible/modules/unarchive.py +++ b/lib/ansible/modules/unarchive.py @@ -72,7 +72,7 @@ include: description: - List of directory and file entries that you would like to extract from the archive. If C(include) - is not empty (default), only files listed here will be extracted. + is not empty, only files listed here will be extracted. - Mutually exclusive with C(exclude). type: list default: [] From 5f9f53e6d09e956da2e0ea5bcbbbdd4b4dc89a8b Mon Sep 17 00:00:00 2001 From: s-hertel <19572925+s-hertel@users.noreply.github.com> Date: Tue, 14 Dec 2021 09:46:21 -0500 Subject: [PATCH 3/3] remove trailing whitespace --- lib/ansible/modules/unarchive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/unarchive.py b/lib/ansible/modules/unarchive.py index e957d34d81a708..52527e0f42be98 100644 --- a/lib/ansible/modules/unarchive.py +++ b/lib/ansible/modules/unarchive.py @@ -71,7 +71,7 @@ version_added: "2.1" include: description: - - List of directory and file entries that you would like to extract from the archive. If C(include) + - List of directory and file entries that you would like to extract from the archive. If C(include) is not empty, only files listed here will be extracted. - Mutually exclusive with C(exclude). type: list