1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Clarify the documented behaviour of insertbefore slightly.

This commit is contained in:
Toshio Kuratomi 2015-03-03 11:38:08 -08:00 committed by Matt Clay
parent 9fa04de137
commit 86f8a3d381

View file

@ -97,8 +97,8 @@ options:
- 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 last match of specified regular expression. A value is before the last match of specified regular expression. A value is
available; C(BOF) for inserting the line at the beginning of the file. available; C(BOF) for inserting the line at the beginning of the file.
If specified regular expresion has no matches, C(insertbefore) will be If specified regular expresion has no matches, the line will be
ignored. May not be used with C(backrefs). inserted at the end of the file. May not be used with C(backrefs).
choices: [ 'BOF', '*regex*' ] choices: [ 'BOF', '*regex*' ]
create: create:
required: false required: false