Debian Codegraph @

ansible_collections/f5networks/f5_modules/plugins/doc_fragments/f5_rest_cli.py

raw symbols SCIP
1 # -*- coding: utf-8 -*-
2
3 # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
4
5 from __future__ import absolute_import, division, print_function
6 __metaclass__ = type
7
8
9 class ModuleDocFragment(object):
10 # Standard F5 documentation fragment
11 DOCUMENTATION = r'''
12 options:
13 provider:
14 description:
15 - A dict object containing connection details.
16 type: dict
17 version_added: "1.0.0"
18 suboptions:
19 password:
20 description:
21 - The password for the user account used to connect to the BIG-IP.
22 - You may omit this option by setting the environment variable C(F5_PASSWORD).
23 type: str
24 required: true
25 aliases: [ pass, pwd ]
26 server:
27 description:
28 - The BIG-IP host.
29 - You may omit this option by setting the environment variable C(F5_SERVER).
30 type: str
31 required: true
32 server_port:
33 description:
34 - The BIG-IP server port.
35 - You may omit this option by setting the environment variable C(F5_SERVER_PORT).
36 type: int
37 default: 443
38 user:
39 description:
40 - The username to connect to the BIG-IP with. This user must have
41 administrative privileges on the device.
42 - You may omit this option by setting the environment variable C(F5_USER).
43 type: str
44 required: true
45 validate_certs:
46 description:
47 - If C(no), SSL certificates are not validated. Use this only
48 on personally controlled sites using self-signed certificates.
49 - You may omit this option by setting the environment variable C(F5_VALIDATE_CERTS).
50 type: bool
51 default: yes
52 timeout:
53 description:
54 - Parameter in effect when C(transport) is set to C(rest)
55 - Specifies the timeout in seconds for communicating with the network device
56 for either connecting or sending commands. If the timeout is
57 exceeded before the operation is completed, the module will error.
58 type: int
59 ssh_keyfile:
60 description:
61 - Specifies the SSH keyfile to use to authenticate the connection to
62 the remote device. This argument is only used for I(cli) transports.
63 - You may omit this option by setting the environment variable C(ANSIBLE_NET_SSH_KEYFILE).
64 type: path
65 transport:
66 description:
67 - Configures the transport connection to use when connecting to the
68 remote device.
69 type: str
70 choices: [ cli, rest ]
71 default: rest
72 no_f5_teem:
73 description:
74 - If C(yes), TEEM telemetry data is not sent to F5.
75 - You may omit this option by setting the environment variable C(F5_TELEMETRY_OFF).
76 - Previously used variable C(F5_TEEM) is deprecated as its name was confusing.
77 default: no
78 type: bool
79 auth_provider:
80 description:
81 - Configures the auth provider for to obtain authentication tokens from the remote device.
82 - This option is really used when working with BIG-IQ devices.
83 type: str
84 notes:
85 - For more information on using Ansible to manage F5 Networks devices see U(https://www.ansible.com/integrations/networks/f5).
86 - Requires BIG-IP software version >= 12.
87 - To specify C(timeout) when C(transport) is set to C(cli), use the C(ANSIBLE_PERSISTENT_COMMAND_TIMEOUT)
88 environment variable or specify a C(command_timeout) in the ansible.cfg file,
89 see U(https://docs.ansible.com/ansible/latest/reference_appendices/config.html#persistent-command-timeout)
90 - The F5 modules only manipulate the running configuration of the F5 product. To ensure that BIG-IP
91 specific configuration persists to disk, be sure to include at least one task that uses the
92 M(f5networks.f5_modules.bigip_config) module to save the running configuration. Refer to the module's documentation for
93 the correct usage of the module to save your running configuration.
94 '''