| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
from __future__ import (absolute_import, division, print_function) |
| 6 |
__metaclass__ = type |
| 7 |
|
| 8 |
|
| 9 |
class ModuleDocFragment(object): |
| 10 |
|
| 11 |
|
| 12 |
DOCUMENTATION = r''' |
| 13 |
options: |
| 14 |
provider: |
| 15 |
description: |
| 16 |
- A dict object containing connection details. |
| 17 |
type: dict |
| 18 |
suboptions: |
| 19 |
host: |
| 20 |
description: |
| 21 |
- Specifies the DNS host name or address for connecting to the remote |
| 22 |
instance of NIOS WAPI over REST |
| 23 |
- Value can also be specified using C(INFOBLOX_HOST) environment |
| 24 |
variable. |
| 25 |
type: str |
| 26 |
username: |
| 27 |
description: |
| 28 |
- Configures the username to use to authenticate the connection to |
| 29 |
the remote instance of NIOS. |
| 30 |
- Value can also be specified using C(INFOBLOX_USERNAME) environment |
| 31 |
variable. |
| 32 |
type: str |
| 33 |
password: |
| 34 |
description: |
| 35 |
- Specifies the password to use to authenticate the connection to |
| 36 |
the remote instance of NIOS. |
| 37 |
- Value can also be specified using C(INFOBLOX_PASSWORD) environment |
| 38 |
variable. |
| 39 |
type: str |
| 40 |
cert: |
| 41 |
description: |
| 42 |
- Specifies the client certificate file with digest of x509 config |
| 43 |
for extra layer secure connection the remote instance of NIOS. |
| 44 |
- Value can also be specified using C(INFOBLOX_CERT) environment |
| 45 |
variable. |
| 46 |
type: str |
| 47 |
key: |
| 48 |
description: |
| 49 |
- Specifies private key file for encryption with the certificate |
| 50 |
in order to connect with remote instance of NIOS. |
| 51 |
- Value can also be specified using C(INFOBLOX_KEY) environment |
| 52 |
variable. |
| 53 |
type: str |
| 54 |
validate_certs: |
| 55 |
description: |
| 56 |
- Boolean value to enable or disable verifying SSL certificates |
| 57 |
- Value can also be specified using C(INFOBLOX_SSL_VERIFY) environment |
| 58 |
variable. |
| 59 |
type: bool |
| 60 |
default: no |
| 61 |
aliases: [ ssl_verify ] |
| 62 |
http_request_timeout: |
| 63 |
description: |
| 64 |
- The amount of time before to wait before receiving a response |
| 65 |
- Value can also be specified using C(INFOBLOX_HTTP_REQUEST_TIMEOUT) environment |
| 66 |
variable. |
| 67 |
type: int |
| 68 |
default: 10 |
| 69 |
max_retries: |
| 70 |
description: |
| 71 |
- Configures the number of attempted retries before the connection |
| 72 |
is declared usable |
| 73 |
- Value can also be specified using C(INFOBLOX_MAX_RETRIES) environment |
| 74 |
variable. |
| 75 |
type: int |
| 76 |
default: 3 |
| 77 |
wapi_version: |
| 78 |
description: |
| 79 |
- Specifies the version of WAPI to use |
| 80 |
- Value can also be specified using C(INFOBLOX_WAPI_VERSION) environment |
| 81 |
variable. |
| 82 |
- Until ansible 2.8 the default WAPI was 1.4 |
| 83 |
type: str |
| 84 |
default: '2.12.3' |
| 85 |
max_results: |
| 86 |
description: |
| 87 |
- Specifies the maximum number of objects to be returned, |
| 88 |
if set to a negative number the appliance will return an error when the |
| 89 |
number of returned objects would exceed the setting. |
| 90 |
- Value can also be specified using C(INFOBLOX_MAX_RESULTS) environment |
| 91 |
variable. |
| 92 |
type: int |
| 93 |
default: 1000 |
| 94 |
http_pool_maxsize: |
| 95 |
description: |
| 96 |
- Insert description here |
| 97 |
type: int |
| 98 |
default: 10 |
| 99 |
http_pool_connections: |
| 100 |
description: |
| 101 |
- Insert decription here |
| 102 |
type: int |
| 103 |
default: 10 |
| 104 |
silent_ssl_warnings: |
| 105 |
description: |
| 106 |
- Insert description here |
| 107 |
type: bool |
| 108 |
default: True |
| 109 |
notes: |
| 110 |
- "This module must be run locally, which can be achieved by specifying C(connection: local)." |
| 111 |
- Please read the :ref:`nios_guide` for more detailed information on how to use Infoblox with Ansible. |
| 112 |
|
| 113 |
''' |