Last updated on: 2024-04-01 03:24:20.
bigip_fast_template – Manages FAST template sets on BIG-IP¶
New in version 1.0.0.
Parameters¶
Parameter | Choices/Defaults | Configuration | Comments |
---|---|---|---|
force
boolean
|
|
When set to
true , any existing template with the same name is overwritten by the new import. |
|
name
string
|
The name of the FAST template set to create or remove.
When
present the name must correspond to the basename of the uploaded zip file without the file extension.Parameter is optional when
state is present , the name is derived from the basename of the uploaded zip file.Parameter is mandatory when
state is absent , and disregarded when state is purge . |
||
source
path
|
Full path to a template set file to be imported into the BIG-IP.
File must be in a zip format, other formats will raise an error when attempting to activate the template sets.
Parameter is required when
state is present |
||
state
string
|
|
When
state is present , the FAST template set is uploaded and created on the device.When
state is absent , ensures the existing FAST template set is removed.When
state is purge , ensures all the FAST templates are removed from the device. |
Examples¶
- name: Upload and create FAST template set
bigip_fast_template:
name: new_template_set
source: /root/new_template_set.zip
state: "present"
- name: Upload and create FAST template set, name not given - force overwrite
bigip_fast_template:
source: /root/new_template_set.zip
state: "present"
force: true
- name: Remove existing FAST template set
bigip_fast_template:
name: new_template_set
state: "absent"
- name: Remove all existing FAST template sets
bigip_fast_template:
state: "purge"
Return Values¶
The following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
name
string
|
changed |
Name of the template set to be created/overwritten.
Sample:
some_template
|
source
string
|
changed |
Local path to FAST template set file.
Sample:
/root/some_template.zip
|