Commit 37efa164 by Michael DeHaan

Merge branch 'update_docs_validate_cmd_not_passed_via_shell' of…

Merge branch 'update_docs_validate_cmd_not_passed_via_shell' of git://github.com/rwehner/ansible into devel

Conflicts:
	library/files/template
parents a6b25e86 8a19d313
...@@ -73,6 +73,7 @@ options: ...@@ -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: ...@@ -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,10 @@ options: ...@@ -40,7 +40,10 @@ options:
default: "no" default: "no"
validate: validate:
description: description:
- 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. (added in Ansible 1.2) - 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.
- 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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment