Add detail to copy module validate argument

This clarifies the validate command argument and makes it clear that if
it is present, it must include the '%s' argument for the path to the
temporary file to validate.
This commit is contained in:
Jim Kleckner 2013-10-09 18:21:43 -07:00
parent 3f968ff46a
commit f231c86ff3

View file

@ -65,7 +65,8 @@ options:
aliases: [ "thirsty" ]
validate:
description:
- validation to run before copying into place
- 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.
required: false
default: ""
version_added: "1.2"