cm_next_license – Manage license activation and deactivation of BIG-IP Next instances.¶
New in version 1.3.0.
Synopsis¶
- Manage license activation and deactivation of BIG-IP Next instances through Central Manager API.
Parameters¶
Parameter | Choices/Defaults | Configuration | Comments |
---|---|---|---|
jwt
string
|
The json web token to be used for license activation.
Required when
jwt_type is set to new . |
||
jwt_name
string
|
The name of the json web token to be used for license activation.
Required when
state is set to activate . |
||
jwt_type
string
|
|
This tells whether to create and use a new jwt or use an existing one.
|
|
next_ips
list
/ elements=string / required
|
The IP addresses of the BIG-IP Next instances that are to be activated or deactivated.
|
||
state
string
|
|
The state of the license to be set.
|
|
timeout
integer
|
Default: 300
|
The time in seconds to wait for the license activation or deactivation to complete.
The accepted value range is between
150 and 3600 seconds. |
Examples¶
- name: license two BIG-IP Next instances through CM
cm_next_license:
jwt_name: "test_token"
jwt_type: "new"
jwt: "{{ lookup('file', 'jwt.txt') }}"
next_ips:
- "1.2.3.4"
- "4.3.2.1"
state: activate
Return Values¶
The following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
jwt_name
string
|
changed |
The name that identifies the json web token on Central Manager.
Sample:
test_token
|
jwt_type
string
|
changed |
The type of json web token, whether it is existing or new.
Sample:
new
|
next_ips
list
|
changed |
The list of BIG-IP Next instances.
Sample:
['1.2.3.4', '4.3.2.1']
|