mirror of https://github.com/ansible/ansible.git
doc_fragments: Clean up parameter types (storage) (#52179)
* module_utils: Clean up parameter types (storage) This PR includes: - Parameter types added - Copyright format fixes - Short license statement - Description fixes (only for a few files, then I stopped :-)) * Fix quotes * Fix rST issuepull/52315/head
parent
6a82827ddd
commit
fbca8a4615
@ -1,43 +1,42 @@
|
|||||||
#
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright (c) 2018, Luca 'remix_tj' Lorenzetto <lorenzetto.luca@gmail.com>
|
|
||||||
#
|
# Copyright: (c) 2018, Luca Lorenzetto (@remix_tj) <lorenzetto.luca@gmail.com>
|
||||||
# This file is part of Ansible
|
|
||||||
#
|
|
||||||
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||||
|
|
||||||
|
|
||||||
class ModuleDocFragment(object):
|
class ModuleDocFragment(object):
|
||||||
|
|
||||||
DOCUMENTATION = """
|
DOCUMENTATION = r'''
|
||||||
options:
|
options:
|
||||||
- See respective platform section for more details
|
- See respective platform section for more details
|
||||||
requirements:
|
requirements:
|
||||||
- See respective platform section for more details
|
- See respective platform section for more details
|
||||||
notes:
|
notes:
|
||||||
- Ansible modules are available for EMC VNX.
|
- Ansible modules are available for EMC VNX.
|
||||||
"""
|
'''
|
||||||
|
|
||||||
# Documentation fragment for VNX (emc_vnx)
|
# Documentation fragment for VNX (emc_vnx)
|
||||||
EMC_VNX = """
|
EMC_VNX = r'''
|
||||||
options:
|
options:
|
||||||
sp_address:
|
sp_address:
|
||||||
description:
|
description:
|
||||||
- Address of the SP of target/secondary storage.
|
- Address of the SP of target/secondary storage.
|
||||||
|
type: str
|
||||||
required: true
|
required: true
|
||||||
sp_user:
|
sp_user:
|
||||||
description:
|
description:
|
||||||
- Username for accessing SP.
|
- Username for accessing SP.
|
||||||
|
type: str
|
||||||
default: sysadmin
|
default: sysadmin
|
||||||
required: false
|
|
||||||
sp_password:
|
sp_password:
|
||||||
description:
|
description:
|
||||||
- password for accessing SP.
|
- password for accessing SP.
|
||||||
|
type: str
|
||||||
default: sysadmin
|
default: sysadmin
|
||||||
required: false
|
|
||||||
requirements:
|
requirements:
|
||||||
- An EMC VNX Storage device.
|
- An EMC VNX Storage device.
|
||||||
- Ansible 2.7.
|
- Ansible 2.7.
|
||||||
- storops (0.5.10 or greater). Install using 'pip install storops'.
|
- storops (0.5.10 or greater). Install using 'pip install storops'.
|
||||||
notes:
|
notes:
|
||||||
- The modules prefixed with emc_vnx are built to support the EMC VNX storage platform.
|
- The modules prefixed with emc_vnx are built to support the EMC VNX storage platform.
|
||||||
"""
|
'''
|
||||||
|
Loading…
Reference in New Issue