f5os_auth_server – Manage Auth Server Groups and Server inside it.¶
New in version 1.15.0.
Parameters¶
| Parameter | Choices/Defaults | Configuration | Comments | |
|---|---|---|---|---|
|
force_update
boolean
|
|
If
true, Update will be triggered forcefully irrespective of any changes. |
||
|
name
string
/ required
|
Name of the Server Group.
|
|||
|
provider_type
string
/ required
|
|
Name of the Provider Type.
|
||
|
server
list
/ elements=dictionary
|
Server
|
|||
|
port
integer
|
Port number to be used for Server.
|
|||
|
secret
string
|
Secret key is the shared secret used to access the server.
|
|||
|
server_ip
string
|
Server IP/Address.
|
|||
|
timeout
integer
|
Timeout specifies seconds to wait for a response from the server.
|
|||
|
type
string
|
|
Options are LDAP over TCP or LDAP over SSL (requires SSL certificate) depending on which protocol the LDAP server uses.
|
||
|
state
string
|
|
Server Group and Servers state of F5OS system.
If
present, Specified Server Groups and Server will be pushed to F5OS system.If
absent, deletes the Server Group and Servers if they exists. |
||
Notes¶
Note
- Server IP, Secret, Port and Timeout are required for Radius Server Group.
- Server IP, Secret, Port are required for Tacacs Server Group.
- Changes in Secret Key for Radius and Tacacs Server Group are not detected, so we need to force update in that case.
- Server IP, Port and Type are required for LDAP Server Group.
- User needs to specify which all servers are to be kept, rest will be deleted.
- If not servers are specified, then all the servers would be deleted.
Examples¶
- name: Create Radius Server Group and Servers inside it
f5os_auth_server:
name: "test_server"
provider_type: "radius"
server:
- server_ip: "1.1.1.1"
port: 1000
secret: "test"
timeout: 5
- name: Create Tacacs Server Group and Servers inside it
f5os_auth_server:
name: "test_server"
provider_type: "radius"
server:
- server_ip: "1.1.1.1"
port: 1000
secret: "test"
- name: Create Ldap Server Group and Servers inside it
f5os_auth_server:
name: "test_server"
provider_type: "ldap"
server:
- server_ip: "1.1.1.1"
port: 1000
type: "ldap over tcp"
- name: Create Ocsp Server Group and Servers inside it
f5os_auth_server:
name: "test_server"
provider_type: "ocsp"
server:
- server_ip: "1.1.1.1"
port: 1000
- name: Delete Ocsp Server Group and Servers inside it
f5os_auth_server:
name: "test_server"
provider_type: "ocsp"
server:
- server_ip: "1.1.1.1"
port: 1000
state: "absent"
Return Values¶
The following are the fields unique to this module:
| Key | Returned | Description |
|---|---|---|
|
name
string
|
changed |
Name of the Server Group.
|
|
provider_type
string
|
changed |
Name of the Provider Type.
|
|
server
list
|
changed |
Server to added for the Server Group
|