Clarify that lineinfile uses Python regexes.
This commit is contained in:
parent
0fe2d4e5e3
commit
7c8fa2cb6f
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