diff --git a/files/lineinfile b/files/lineinfile index 8521fd08953..b98cf38c2ca 100644 --- a/files/lineinfile +++ b/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"