vdirect_runnable – Runs templates and workflow actions in Radware vDirect server
vdirect_runnable – Runs templates and workflow actions in Radware vDirect server
New in version 2.5.
Synopsis
- Runs configuration templates, creates workflows and runs workflow actions in Radware vDirect server.
Requirements
The below requirements are needed on the host that executes this module.
- vdirect-client >= 4.1.1
Parameters
Parameter | Choices/Defaults | Comments |
---|---|---|
action_name - |
Workflow action name to run. Required if runnable_type=Workflow. | |
parameters - |
Action parameters dictionary. In case of the device connection details should always be passed as a parameter. | |
runnable_name - / required |
vDirect runnable name to run. May be configuration template name, workflow template name or workflow instance name. | |
runnable_type - / required |
|
vDirect runnable type. |
vdirect_http_port - |
Default: 2188 |
vDirect server HTTP port number, may be set as |
vdirect_https_port - |
Default: 2189 |
vDirect server HTTPS port number, may be set as |
vdirect_ip - / required |
Primary vDirect server IP address, may be set as | |
vdirect_password - / required |
vDirect server password, may be set as | |
vdirect_secondary_ip - |
Secondary vDirect server IP address, may be set as | |
vdirect_timeout - |
Default: 60 |
Amount of time to wait for async operation completion [seconds], may be set as |
vdirect_use_ssl boolean |
|
If may be set as |
vdirect_user - / required |
vDirect server username, may be set as | |
vdirect_validate_certs boolean |
|
If may be set as This should only set to |
vdirect_wait boolean |
|
Wait for async operation to complete, may be set as |
Notes
Note
- Requires the Radware vdirect-client Python package on the host. This is as easy as
pip install vdirect-client
Examples
- name: vdirect_runnable
vdirect_runnable:
vdirect_ip: 10.10.10.10
vdirect_user: vDirect
vdirect_password: radware
runnable_type: ConfigurationTemplate
runnable_name: get_vlans
parameters: {'vlans_needed':1,'adc':[{'type':'Adc','name':'adc-1'}]}
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
result string |
success |
Message detailing run result
Sample: Workflow action run completed. |
Status
- This module is not guaranteed to have a backwards compatible interface. [preview]
- This module is maintained by the Ansible Community. [community]
Authors
- Evgeny Fedoruk @ Radware LTD (@evgenyfedoruk)
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.7/modules/vdirect_runnable_module.html