community.network.vdirect_file – Uploads a new or updates an existing runnable file into Radware vDirect server¶
Note
This plugin is part of the community.network collection (version 1.3.2).
To install it use: ansible-galaxy collection install community.network
.
To use it in a playbook, specify: community.network.vdirect_file
.
Synopsis¶
Uploads a new or updates an existing configuration template or workflow template into the Radware vDirect server. All parameters may be set as environment variables.
Requirements¶
The below requirements are needed on the host that executes this module.
vdirect-client >= 4.9.0-post4
Parameters¶
Notes¶
Note
Requires the Radware vdirect-client Python package on the host. This is as easy as
pip install vdirect-client
Examples¶
- name: Upload a new or updates an existing runnable file
community.network.vdirect_file:
vdirect_ip: 10.10.10.10
vdirect_user: vDirect
vdirect_password: radware
file_name: /tmp/get_vlans.vm
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 upload result
Sample:
Workflow template created
|
Authors¶
Evgeny Fedoruk @ Radware LTD (@evgenyfedoruk)