New in version 2.2.
parameter | required | default | choices | comments |
---|---|---|---|---|
contact |
no | The name of the contact for the data center. | ||
description |
no | The description of the data center. | ||
enabled |
no |
|
Whether the data center should be enabled. At least one of state and enabled are required. | |
location |
no | The location of the data center. | ||
name |
yes | The name of the data center. | ||
password |
yes | The password for the user account used to connect to the BIG-IP. This option can be omitted if the environment variable F5_PASSWORD is set. | ||
server |
yes | The BIG-IP host. This option can be omitted if the environment variable F5_SERVER is set. | ||
server_port (added in 2.2) |
no | 443 | The BIG-IP server port. This option can be omitted if the environment variable F5_SERVER_PORT is set. | |
state |
no |
|
The state of the datacenter on the BIG-IP. When present , guarantees that the data center exists. When absent removes the data center from the BIG-IP. enabled will enable the data center and disabled will ensure the data center is disabled. At least one of state and enabled are required. | |
user |
yes | The username to connect to the BIG-IP with. This user must have administrative privileges on the device. This option can be omitted if the environment variable F5_USER is set. | ||
validate_certs (added in 2.0) |
no | True |
|
If no , SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. This option can be omitted if the environment variable F5_VALIDATE_CERTS is set. |
- name: Create data center "New York" bigip_gtm_datacenter: server: "big-ip" name: "New York" location: "222 West 23rd" delegate_to: localhost
Common return values are documented here Return Values, the following are the fields unique to this module:
name | description | returned | type | sample |
---|---|---|---|---|
location | The location that is set for the datacenter | changed | string | 222 West 23rd |
contact | The contact that was set on the datacenter | changed | string | admin@root.local |
enabled | Whether the datacenter is enabled or not | changed | bool | True |
description | The description that was set for the datacenter | changed | string | Datacenter in NYC |
name | Name of the datacenter being manipulated | changed | string | foo |
Note
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
This module is community maintained without core committer oversight.
For more information on what this means please read Module Support
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Helping Testing PRs and Developing Modules.