From cc173b445ed01aa58fb402e840373d21e6b0f80e Mon Sep 17 00:00:00 2001 From: Jose Moreira Date: Mon, 15 Feb 2016 15:03:40 +0000 Subject: [PATCH] Fixed module doc typos --- lib/ansible/modules/files/lineinfile.py | 4 ++-- lib/ansible/modules/windows/win_lineinfile.py | 14 ++++---------- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/lib/ansible/modules/files/lineinfile.py b/lib/ansible/modules/files/lineinfile.py index 59944d4d20..1333aadac9 100644 --- a/lib/ansible/modules/files/lineinfile.py +++ b/lib/ansible/modules/files/lineinfile.py @@ -89,7 +89,7 @@ options: - Used with C(state=present). If specified, the line will be inserted after the last match of specified regular expression. A special value is available; C(EOF) for inserting the line at the end of the file. - If specified regular expresion has no matches, EOF will be used instead. + If specified regular expression has no matches, EOF will be used instead. May not be used with C(backrefs). choices: [ 'EOF', '*regex*' ] insertbefore: @@ -99,7 +99,7 @@ options: - Used with C(state=present). If specified, the line will be inserted before the last match of specified regular expression. A value is available; C(BOF) for inserting the line at the beginning of the file. - If specified regular expresion has no matches, the line will be + If specified regular expression has no matches, the line will be inserted at the end of the file. May not be used with C(backrefs). choices: [ 'BOF', '*regex*' ] create: diff --git a/lib/ansible/modules/windows/win_lineinfile.py b/lib/ansible/modules/windows/win_lineinfile.py index 30bedece58..13dab253b0 100644 --- a/lib/ansible/modules/windows/win_lineinfile.py +++ b/lib/ansible/modules/windows/win_lineinfile.py @@ -70,21 +70,15 @@ options: required: false default: EOF description: - - Used with C(state=present). If specified, the line will be inserted - after the last match of specified regular expression. A special value is - available; C(EOF) for inserting the line at the end of the file. - If specified regular expresion has no matches, EOF will be used instead. - May not be used with C(backrefs). + - Used with C(state=present). If specified, the line will be inserted after the last match of specified regular expression. A special value is available; C(EOF) for inserting the line at the end of the file. + - If specified regular expression has no matches, EOF will be used instead. May not be used with C(backrefs). choices: [ 'EOF', '*regex*' ] insertbefore: required: false version_added: "1.1" description: - - Used with C(state=present). If specified, the line will be inserted - before the last match of specified regular expression. A value is - available; C(BOF) for inserting the line at the beginning of the file. - If specified regular expresion has no matches, the line will be - inserted at the end of the file. May not be used with C(backrefs). + - Used with C(state=present). If specified, the line will be inserted before the last match of specified regular expression. A value is available; C(BOF) for inserting the line at the beginning of the file. + - If specified regular expression has no matches, the line will be inserted at the end of the file. May not be used with C(backrefs). choices: [ 'BOF', '*regex*' ] create: required: false