| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
from __future__ import absolute_import, division, print_function |
| 6 |
__metaclass__ = type |
| 7 |
|
| 8 |
|
| 9 |
class ModuleDocFragment(object): |
| 10 |
|
| 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: 22 |
| 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 |
- Specifies the timeout in seconds for communicating with the network device |
| 55 |
for either connecting or sending commands. If the timeout is |
| 56 |
exceeded before the operation is completed, the module will error. |
| 57 |
type: int |
| 58 |
ssh_keyfile: |
| 59 |
description: |
| 60 |
- Specifies the SSH keyfile to use to authenticate the connection to |
| 61 |
the remote device. This argument is only used for I(cli) transports. |
| 62 |
- You may omit this option by setting the environment variable C(ANSIBLE_NET_SSH_KEYFILE). |
| 63 |
type: path |
| 64 |
transport: |
| 65 |
description: |
| 66 |
- Configures the transport connection to use when connecting to the |
| 67 |
remote device. |
| 68 |
type: str |
| 69 |
choices: ['cli'] |
| 70 |
default: cli |
| 71 |
no_f5_teem: |
| 72 |
description: |
| 73 |
- If C(yes), TEEM telemetry data is not sent to F5. |
| 74 |
- You may omit this option by setting the environment variable C(F5_TELEMETRY_OFF). |
| 75 |
- Previously used variable C(F5_TEEM) is deprecated as its name was confusing. |
| 76 |
default: no |
| 77 |
type: bool |
| 78 |
auth_provider: |
| 79 |
description: |
| 80 |
- Configures the auth provider for to obtain authentication tokens from the remote device. |
| 81 |
- This option is really used when working with BIG-IQ devices. |
| 82 |
type: str |
| 83 |
notes: |
| 84 |
- For more information on using Ansible to manage F5 Networks devices see U(https://www.ansible.com/integrations/networks/f5). |
| 85 |
- Requires BIG-IP software version >= 12. |
| 86 |
- The F5 modules only manipulate the running configuration of the F5 product. To ensure that BIG-IP |
| 87 |
specific configuration persists to disk, be sure to include at least one task that uses the |
| 88 |
M(f5networks.f5_modules.bigip_config) module to save the running configuration. Refer to the module's documentation for |
| 89 |
the correct usage of the module to save your running configuration. |
| 90 |
''' |