From e4ac7166634535801f285759cefc1fd75382a67d Mon Sep 17 00:00:00 2001 From: Eric Hanchrow Date: Tue, 30 Sep 2014 10:52:03 -0700 Subject: [PATCH] Tweak docs to mention `replace` --- lib/ansible/modules/files/lineinfile.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/files/lineinfile.py b/lib/ansible/modules/files/lineinfile.py index efe002c448..e2e7590980 100644 --- a/lib/ansible/modules/files/lineinfile.py +++ b/lib/ansible/modules/files/lineinfile.py @@ -32,8 +32,10 @@ short_description: Ensure a particular line is in a file, or replace an existing line using a back-referenced regular expression. description: - This module will search a file for a line, and ensure that it is present or absent. - - This is primarily useful when you want to change a single line in a - file only. For other cases, see the M(copy) or M(template) modules. + - This is primarily useful when you want to change a single line in + a file only. See the M(replace) module if you want to change + multiple, similar lines; for other cases, see the M(copy) or + M(template) modules. version_added: "0.7" options: dest: