bigiq_application_fasthttp – Manages BIG-IQ FastHTTP applications
bigiq_application_fasthttp – Manages BIG-IQ FastHTTP applications
New in version 2.6.
Synopsis
- Manages BIG-IQ applications used for load balancing an HTTP-based application, speeding up connections and reducing the number of connections to the back-end server.
Parameters
Parameter | Choices/Defaults | Comments | |
---|---|---|---|
add_analytics boolean |
|
Collects statistics of the BIG-IP that the application is deployed to. This parameter is only relevant when specifying a | |
description string |
Description of the application. | ||
inbound_virtual dictionary |
Settings to configure the virtual which will receive the inbound connection. This virtual will be used to host the HTTP endpoint of the application. | ||
address string / required |
Specifies destination IP address information to which the virtual server sends traffic. This parameter is required when creating a new application. | ||
netmask string / required |
Specifies the netmask to associate with the given This parameter is required when creating a new application. | ||
port string |
Default: 80 |
The port that the virtual listens for connections on. When creating a new application, if this parameter is not specified, the default value of | |
name string / required |
Name of the new application. | ||
password string / required |
The password for the user account used to connect to the BIG-IP. You may omit this option by setting the environment variable
| ||
provider dictionary added in 2.5 |
A dict object containing connection details. | ||
password string / required |
The password for the user account used to connect to the BIG-IP. You may omit this option by setting the environment variable
| ||
server string / required |
The BIG-IP host. You may omit this option by setting the environment variable | ||
server_port integer |
Default: 443 |
The BIG-IP server port. You may omit this option by setting the environment variable | |
ssh_keyfile path |
Specifies the SSH keyfile to use to authenticate the connection to the remote device. This argument is only used for cli transports. You may omit this option by setting the environment variable | ||
timeout integer |
Default: 10 |
Specifies the timeout in seconds for communicating with the network device for either connecting or sending commands. If the timeout is exceeded before the operation is completed, the module will error. | |
transport string |
|
Configures the transport connection to use when connecting to the remote device. | |
user string / required |
The username to connect to the BIG-IP with. This user must have administrative privileges on the device. You may omit this option by setting the environment variable | ||
validate_certs boolean |
|
If You may omit this option by setting the environment variable | |
server string / required |
The BIG-IP host. You may omit this option by setting the environment variable | ||
server_port integer added in 2.2 |
Default: 443 |
The BIG-IP server port. You may omit this option by setting the environment variable | |
servers list |
A list of servers that the application is hosted on. If you are familiar with other BIG-IP setting, you might also refer to this list as the list of pool members. When creating a new application, at least one server is required. | ||
address string / required |
The IP address of the server. | ||
port string |
Default: 80 |
The port of the server. When creating a new application and specifying a server, if this parameter is not provided, the default of | |
service_environment string |
Specifies the name of service environment that the application will be deployed to. When creating a new application, this parameter is required. The service environment type will be discovered by this module automatically. Therefore, it is crucial that you maintain unique names for items in the different service environment types (at this time, SSGs and BIGIPs). | ||
state string |
|
The state of the resource on the system. When When | |
user string / required |
The username to connect to the BIG-IP with. This user must have administrative privileges on the device. You may omit this option by setting the environment variable | ||
validate_certs boolean added in 2.0 |
|
If You may omit this option by setting the environment variable | |
wait boolean |
|
If the module should wait for the application to be created, deleted or updated. |
Notes
Note
- This module does not support updating of your application (whether deployed or not). If you need to update the application, the recommended practice is to remove and re-create.
- This module will not work on BIGIQ version 6.1.x or greater.
- For more information on using Ansible to manage F5 Networks devices see https://www.ansible.com/integrations/networks/f5.
- Requires BIG-IP software version >= 12.
- The F5 modules only manipulate the running configuration of the F5 product. To ensure that BIG-IP specific configuration persists to disk, be sure to include at least one task that uses the bigip_config module to save the running configuration. Refer to the module’s documentation for the correct usage of the module to save your running configuration.
Examples
- name: Load balance an HTTP application on port 80 on BIG-IP
bigiq_application_fasthttp:
name: my-app
description: Fast HTTP
service_environment: my-ssg
servers:
- address: 1.2.3.4
port: 8080
- address: 5.6.7.8
port: 8080
inbound_virtual:
name: foo
address: 2.2.2.2
netmask: 255.255.255.255
port: 80
provider:
password: secret
server: lb.mydomain.com
user: admin
state: present
delegate_to: localhost
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description | |
---|---|---|---|
description string |
changed |
The new description of the application of the resource.
Sample: My application | |
inbound_virtual_destination string |
changed |
The destination of the virtual that was created.
Sample: 6.7.8.9 | |
inbound_virtual_netmask string |
changed |
The network mask of the provided inbound destination.
Sample: 255.255.255.0 | |
inbound_virtual_port integer |
changed |
The port the inbound virtual address listens on.
Sample: 80 | |
servers complex |
changed |
List of servers, and their ports, that make up the application.
Sample: hash/dictionary of values | |
address string |
changed |
The IP address of the server.
Sample: 2.3.4.5 | |
port integer |
changed |
The port that the server listens on.
Sample: 8080 | |
service_environment string |
changed |
The environment which the service was deployed to.
Sample: my-ssg1 |
Status
- This module is not guaranteed to have a backwards compatible interface. [preview]
- This module is maintained by an Ansible Partner. [certified]
Authors
- Tim Rupp (@caphrim007)
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.8/modules/bigiq_application_fasthttp_module.html