mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Docs fragment for common a10 options (#18163)
This commit is contained in:
parent
5502da3cf8
commit
525b672c0c
1 changed files with 62 additions and 0 deletions
62
lib/ansible/utils/module_docs_fragments/a10.py
Normal file
62
lib/ansible/utils/module_docs_fragments/a10.py
Normal file
|
@ -0,0 +1,62 @@
|
||||||
|
#
|
||||||
|
# (c) 2016, John Barker <jobarker@redhat.com>
|
||||||
|
#
|
||||||
|
# This file is part of Ansible
|
||||||
|
#
|
||||||
|
# Ansible is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# Ansible is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
|
||||||
|
class ModuleDocFragment(object):
|
||||||
|
|
||||||
|
# Standard files documentation fragment
|
||||||
|
DOCUMENTATION = """
|
||||||
|
notes:
|
||||||
|
- "Requires A10 Networks aXAPI 2.1"
|
||||||
|
options:
|
||||||
|
host:
|
||||||
|
description:
|
||||||
|
- Hostname or IP of the A10 Networks device.
|
||||||
|
required: true
|
||||||
|
default: null
|
||||||
|
username:
|
||||||
|
description:
|
||||||
|
- An account with administrator privileges.
|
||||||
|
required: true
|
||||||
|
aliases: ['user', 'admin']
|
||||||
|
default: null
|
||||||
|
password:
|
||||||
|
description:
|
||||||
|
- Password for the C(username) account.
|
||||||
|
required: true
|
||||||
|
aliases: ['pass', 'pwd']
|
||||||
|
default: null
|
||||||
|
write_config:
|
||||||
|
description:
|
||||||
|
- If C(yes), any changes will cause a write of the running configuration
|
||||||
|
to non-volatile memory. This will save I(all) configuration changes,
|
||||||
|
including those that may have been made manually or through other modules,
|
||||||
|
so care should be taken when specifying C(yes).
|
||||||
|
required: false
|
||||||
|
version_added: 2.2
|
||||||
|
default: "no"
|
||||||
|
choices: ["yes", "no"]
|
||||||
|
validate_certs:
|
||||||
|
description:
|
||||||
|
- If C(no), SSL certificates will not be validated. This should only be used
|
||||||
|
on personally controlled devices using self-signed certificates.
|
||||||
|
required: false
|
||||||
|
version_added: 2.2
|
||||||
|
default: 'yes'
|
||||||
|
choices: ['yes', 'no']
|
||||||
|
"""
|
Loading…
Reference in a new issue