diff --git a/library/files/lineinfile b/library/files/lineinfile index 8521fd0895..b98cf38c2c 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"