From 85570e2dc06cc6b5e0eb5ba1ec226299133893dd Mon Sep 17 00:00:00 2001 From: Mohammad Sadegh Dehghan Date: Fri, 13 Nov 2020 00:58:01 +0330 Subject: [PATCH] Fix documented type of mode field in copy module (#72593) * Fix type of mode field in copy module * Remove module type checking from ignore.txt sanity checks * Remove mode type Co-authored-by: Matt Martz --- lib/ansible/modules/copy.py | 1 - test/sanity/ignore.txt | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/ansible/modules/copy.py b/lib/ansible/modules/copy.py index 65fb622f768..d3c547590d5 100644 --- a/lib/ansible/modules/copy.py +++ b/lib/ansible/modules/copy.py @@ -75,7 +75,6 @@ options: - As of Ansible 2.3, the mode may also be the special string C(preserve). - C(preserve) means that the file will be given the same permissions as the source file. - When doing a recursive copy, see also C(directory_mode). - type: path directory_mode: description: - When doing a recursive copy set the mode for the directories. diff --git a/test/sanity/ignore.txt b/test/sanity/ignore.txt index a5546cbf71a..457c2eefd87 100644 --- a/test/sanity/ignore.txt +++ b/test/sanity/ignore.txt @@ -90,7 +90,6 @@ lib/ansible/modules/command.py validate-modules:nonexistent-parameter-documented lib/ansible/modules/command.py validate-modules:undocumented-parameter lib/ansible/modules/copy.py pylint:blacklisted-name lib/ansible/modules/copy.py validate-modules:doc-default-does-not-match-spec -lib/ansible/modules/copy.py validate-modules:doc-type-does-not-match-spec lib/ansible/modules/copy.py validate-modules:nonexistent-parameter-documented lib/ansible/modules/copy.py validate-modules:undocumented-parameter lib/ansible/modules/dnf.py validate-modules:doc-required-mismatch