lineinfile, remove incorrect/unused 'others' option (#82436)

* move incorrect, unused 'others' option

 this was to document 'file' options are usable .. but we already
 import the file fragment to document those options.

* removed now bad ignore
pull/82486/head
Brian Coca 5 months ago committed by GitHub
parent 8762d9e7e6
commit 6e4a5acfbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -126,10 +126,6 @@ options:
type: bool
default: no
version_added: "2.5"
others:
description:
- All arguments accepted by the M(ansible.builtin.file) module also work here.
type: str
extends_documentation_fragment:
- action_common_attributes
- action_common_attributes.files

@ -37,7 +37,6 @@ lib/ansible/modules/git.py use-argspec-type-path
lib/ansible/modules/git.py validate-modules:doc-required-mismatch
lib/ansible/modules/lineinfile.py validate-modules:doc-choices-do-not-match-spec
lib/ansible/modules/lineinfile.py validate-modules:doc-default-does-not-match-spec
lib/ansible/modules/lineinfile.py validate-modules:nonexistent-parameter-documented
lib/ansible/modules/package_facts.py validate-modules:doc-choices-do-not-match-spec
lib/ansible/modules/replace.py validate-modules:nonexistent-parameter-documented
lib/ansible/modules/replace.py pylint:used-before-assignment # false positive detection by pylint

Loading…
Cancel
Save