2018-10-02 22:22:30 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
2015-07-04 21:58:23 +00:00
|
|
|
|
2018-10-02 22:22:30 +00:00
|
|
|
# Copyright: (c) 2015, Ansible, Inc
|
|
|
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
2015-07-04 21:58:23 +00:00
|
|
|
|
|
|
|
|
2018-10-02 22:22:30 +00:00
|
|
|
class ModuleDocFragment(object):
|
2015-07-04 21:58:23 +00:00
|
|
|
# Standard documentation fragment
|
2018-10-02 22:22:30 +00:00
|
|
|
DOCUMENTATION = r'''
|
2015-07-14 14:07:30 +00:00
|
|
|
options:
|
2018-10-02 22:22:30 +00:00
|
|
|
validate:
|
|
|
|
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 examples below.
|
|
|
|
- The command is passed securely so shell features like expansion and pipes will not work.
|
2019-02-19 20:52:10 +00:00
|
|
|
type: str
|
2015-07-04 21:58:23 +00:00
|
|
|
'''
|