"Fossies" - the Fresh Open Source Software Archive

Member "ansible-2.9.27/lib/ansible/plugins/doc_fragments/a10.py" (11 Oct 2021, 1356 Bytes) of package /linux/misc/ansible-2.9.27.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Python source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "a10.py": 2.9.24_vs_4.3.0.

    1 # -*- coding: utf-8 -*-
    2 
    3 # Copyright: (c) 2016, John Barker <jobarker@redhat.com>
    4 # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
    5 
    6 
    7 class ModuleDocFragment(object):
    8 
    9     # Standard files documentation fragment
   10     DOCUMENTATION = r'''
   11 options:
   12   host:
   13     description:
   14       - Hostname or IP of the A10 Networks device.
   15     type: str
   16     required: true
   17   username:
   18     description:
   19       - An account with administrator privileges.
   20     type: str
   21     required: true
   22     aliases: [ admin, user ]
   23   password:
   24     description:
   25       - Password for the C(username) account.
   26     type: str
   27     required: true
   28     aliases: [ pass, pwd ]
   29   write_config:
   30     description:
   31       - If C(yes), any changes will cause a write of the running configuration
   32         to non-volatile memory. This will save I(all) configuration changes,
   33         including those that may have been made manually or through other modules,
   34         so care should be taken when specifying C(yes).
   35     type: bool
   36     default: no
   37     version_added: '2.2'
   38   validate_certs:
   39     description:
   40       - If C(no), SSL certificates will not be validated.
   41       - This should only be used on personally controlled devices using self-signed certificates.
   42     type: bool
   43     default: yes
   44     version_added: '2.2'
   45 notes:
   46     - Requires A10 Networks aXAPI 2.1.
   47 '''