Update 'validate=' parameter documentation to make clear that the command
passed via this paramter is not passed via shell and so all shell features will not work.
This commit is contained in:
parent
24b3f7c681
commit
406317371b
3 changed files with 5 additions and 2 deletions
|
@ -73,6 +73,7 @@ options:
|
||||||
description:
|
description:
|
||||||
- The validation command to run before copying into place. The path to the file to
|
- The validation command to run before copying into place. The path to the file to
|
||||||
validate is passed in via '%s' which must be present as in the visudo example below.
|
validate is passed in via '%s' which must be present as in the visudo example below.
|
||||||
|
The command is passed securely so shell features like expansion and pipes won't work.
|
||||||
required: false
|
required: false
|
||||||
default: ""
|
default: ""
|
||||||
version_added: "1.2"
|
version_added: "1.2"
|
||||||
|
|
|
@ -110,7 +110,8 @@ options:
|
||||||
validate:
|
validate:
|
||||||
required: false
|
required: false
|
||||||
description:
|
description:
|
||||||
- validation to run before copying into place
|
- validation to run before copying into place. The command is passed
|
||||||
|
securely so shell features like expansion and pipes won't work.
|
||||||
required: false
|
required: false
|
||||||
default: None
|
default: None
|
||||||
version_added: "1.4"
|
version_added: "1.4"
|
||||||
|
|
|
@ -40,7 +40,8 @@ options:
|
||||||
default: "no"
|
default: "no"
|
||||||
validate:
|
validate:
|
||||||
description:
|
description:
|
||||||
- validation to run before copying into place
|
- validation to run before copying into place. The command is passed
|
||||||
|
securely so shell features like expansion and pipes won't work.
|
||||||
required: false
|
required: false
|
||||||
default: ""
|
default: ""
|
||||||
version_added: "1.2"
|
version_added: "1.2"
|
||||||
|
|
Loading…
Reference in a new issue