community.network.a10_service_group – Manage A10 Networks AX/SoftAX/Thunder/vThunder devices’ service groups.¶
Note
This plugin is part of the community.network collection (version 2.1.1).
To install it use: ansible-galaxy collection install community.network
.
To use it in a playbook, specify: community.network.a10_service_group
.
Synopsis¶
Manage SLB (Server Load Balancing) service-group objects on A10 Networks devices via aXAPIv2.
Parameters¶
Notes¶
Note
Requires A10 Networks aXAPI 2.1.
When a server doesn’t exist and is added to the service-group the server will be created.
Requires A10 Networks aXAPI 2.1.
Examples¶
- name: Create a new service-group
community.network.a10_service_group:
host: a10.mydomain.com
username: myadmin
password: mypassword
partition: mypartition
service_group: sg-80-tcp
servers:
- server: foo1.mydomain.com
port: 8080
- server: foo2.mydomain.com
port: 8080
- server: foo3.mydomain.com
port: 8080
- server: foo4.mydomain.com
port: 8080
status: disabled
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
content
string
|
success |
the full info regarding the slb_service_group
Sample:
mynewservicegroup
|
Authors¶
Eric Chou (@ericchou1)
Mischa Peters (@mischapeters)