mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix version_added for insertbefore in lineinfile
This commit is contained in:
parent
333b6bbaac
commit
274f15b52c
1 changed files with 3 additions and 3 deletions
|
@ -66,7 +66,7 @@ options:
|
||||||
choices: [ 'EOF', '*regex*' ]
|
choices: [ 'EOF', '*regex*' ]
|
||||||
insertbefore:
|
insertbefore:
|
||||||
required: false
|
required: false
|
||||||
versionadded: 1.1
|
version_added: 1.1
|
||||||
description:
|
description:
|
||||||
- Used with C(state=present). If specified, the line will be inserted
|
- Used with C(state=present). If specified, the line will be inserted
|
||||||
before the specified regular expression. A value is available;
|
before the specified regular expression. A value is available;
|
||||||
|
@ -209,8 +209,8 @@ def main():
|
||||||
create=dict(default=False, choices=BOOLEANS),
|
create=dict(default=False, choices=BOOLEANS),
|
||||||
backup=dict(default=False, choices=BOOLEANS),
|
backup=dict(default=False, choices=BOOLEANS),
|
||||||
),
|
),
|
||||||
mutually_exclusive = [['insertbefore', 'insertafter']],
|
mutually_exclusive = [['insertbefore', 'insertafter']],
|
||||||
supports_check_mode = True
|
supports_check_mode = True
|
||||||
)
|
)
|
||||||
|
|
||||||
params = module.params
|
params = module.params
|
||||||
|
|
Loading…
Reference in a new issue