From d1ebf7fcf1acbb70f667bbe9121e3939b25f49cf Mon Sep 17 00:00:00 2001 From: Nick Shobe Date: Mon, 14 Jul 2014 13:09:57 -0500 Subject: [PATCH] Update lineinfile --- library/files/lineinfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/library/files/lineinfile b/library/files/lineinfile index 8521fd08953..b98cf38c2ca 100644 --- a/library/files/lineinfile +++ b/library/files/lineinfile @@ -112,8 +112,10 @@ options: validate: required: false description: - - validation to run before copying into place. The command is passed - securely so shell features like expansion and pipes won't work. + - validation to run before copying into place. + Use %s in the command to indicate the current file to validate. + The command is passed securely so shell features like + expansion and pipes won't work. required: false default: None version_added: "1.4"