From 7127d374665ca6ff4565d966c0edde669d2dba23 Mon Sep 17 00:00:00 2001 From: Timothy Visser Date: Thu, 27 Aug 2020 17:37:04 +0200 Subject: [PATCH] Remove "mode: preserve" option from documentation (#71486) Remove "mode: preserve" option from documentation in doc fragments "FILE_COMMON_ARGUMENTS", as it was incorrectly included in the documentation for the `lineinfile`, `unarchive` and other file-related modules. The `copy` and `templates` modules documentation remains untouched and still contain "mode: preserve", as intended. --- lib/ansible/plugins/doc_fragments/files.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/ansible/plugins/doc_fragments/files.py b/lib/ansible/plugins/doc_fragments/files.py index ed1d9b5006d..5d6092a6e82 100644 --- a/lib/ansible/plugins/doc_fragments/files.py +++ b/lib/ansible/plugins/doc_fragments/files.py @@ -25,8 +25,6 @@ options: number which will have unexpected results. - As of Ansible 1.8, the mode may be specified as a symbolic mode (for example, C(u+rwx) or C(u=rw,g=r,o=r)). - - As of Ansible 2.6, the mode may also be the special string C(preserve). - - When set to C(preserve) the file will be given the same permissions as the source file. type: raw owner: description: