remove ignore clauses for module lineinfile (#83595)

pull/83630/head
Alexei Znamensky 3 months ago committed by GitHub
parent c904bffc7d
commit eeb9b50669
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -87,13 +87,11 @@ options:
- If specified, the line will be inserted after the last match of specified regular expression. - If specified, the line will be inserted after the last match of specified regular expression.
- If the first match is required, use(firstmatch=yes). - If the first match is required, use(firstmatch=yes).
- A special value is available; V(EOF) for inserting the line at the end of the file. - A special value is available; V(EOF) for inserting the line at the end of the file.
- If specified regular expression has no matches, EOF will be used instead. - If specified regular expression has no matches or no value is passed, V(EOF) will be used instead.
- If O(insertbefore) is set, default value V(EOF) will be ignored. - If O(insertbefore) is set, default value V(EOF) will be ignored.
- If regular expressions are passed to both O(regexp) and O(insertafter), O(insertafter) is only honored if no match for O(regexp) is found. - If regular expressions are passed to both O(regexp) and O(insertafter), O(insertafter) is only honored if no match for O(regexp) is found.
- May not be used with O(backrefs) or O(insertbefore). - May not be used with O(backrefs) or O(insertbefore).
type: str type: str
choices: [ EOF, '*regex*' ]
default: EOF
insertbefore: insertbefore:
description: description:
- Used with O(state=present). - Used with O(state=present).
@ -104,7 +102,6 @@ options:
- If regular expressions are passed to both O(regexp) and O(insertbefore), O(insertbefore) is only honored if no match for O(regexp) is found. - If regular expressions are passed to both O(regexp) and O(insertbefore), O(insertbefore) is only honored if no match for O(regexp) is found.
- May not be used with O(backrefs) or O(insertafter). - May not be used with O(backrefs) or O(insertafter).
type: str type: str
choices: [ BOF, '*regex*' ]
version_added: "1.1" version_added: "1.1"
create: create:
description: description:

@ -22,8 +22,6 @@ lib/ansible/modules/file.py validate-modules:undocumented-parameter
lib/ansible/modules/find.py use-argspec-type-path # fix needed lib/ansible/modules/find.py use-argspec-type-path # fix needed
lib/ansible/modules/git.py use-argspec-type-path lib/ansible/modules/git.py use-argspec-type-path
lib/ansible/modules/git.py validate-modules:doc-required-mismatch 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/package_facts.py validate-modules:doc-choices-do-not-match-spec lib/ansible/modules/package_facts.py validate-modules:doc-choices-do-not-match-spec
lib/ansible/modules/service.py validate-modules:nonexistent-parameter-documented lib/ansible/modules/service.py validate-modules:nonexistent-parameter-documented
lib/ansible/modules/service.py validate-modules:use-run-command-not-popen lib/ansible/modules/service.py validate-modules:use-run-command-not-popen

Loading…
Cancel
Save