1
0
Fork 0
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:
jkleint 2012-12-20 11:41:45 -05:00
parent d4c63e3300
commit d732b25828

View file

@ -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 ]