mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Clarify that lineinfile uses Python regexes.
This commit is contained in:
parent
d4c63e3300
commit
d732b25828
1 changed files with 2 additions and 1 deletions
|
@ -42,7 +42,8 @@ options:
|
||||||
description:
|
description:
|
||||||
- The regular expression to look for in the file. For C(state=present),
|
- The regular expression to look for in the file. For C(state=present),
|
||||||
the pattern to replace. For C(state=absent), the pattern of the line
|
the pattern to replace. For C(state=absent), the pattern of the line
|
||||||
to remove.
|
to remove. Uses Python regular expressions; see
|
||||||
|
U(http://docs.python.org/2/library/re.html).
|
||||||
state:
|
state:
|
||||||
required: false
|
required: false
|
||||||
choices: [ present, absent ]
|
choices: [ present, absent ]
|
||||||
|
|
Loading…
Reference in a new issue