community.network.vdirect_file module – Uploads a new or updates an existing runnable file into Radware vDirect server
This module is part of the community.network collection (version 5.0.2).
You might already have this collection installed if you are using the
It is not included in
To check whether it is installed, run
ansible-galaxy collection list.
To install it, use:
ansible-galaxy collection install community.network.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify:
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.
The below requirements are needed on the host that executes this module.
vdirect-client >= 4.9.0-post4
vDirect runnable file name to be uploaded.
May be velocity configuration template (.vm) or workflow template zip file (.zip).
may be set as VDIRECT_VALIDATE_CERTS or VDIRECT_VERIFY environment variable.
This should only set to
vDirect server HTTP port number, may be set as VDIRECT_HTTP_PORT environment variable.
vDirect server HTTPS port number, may be set as VDIRECT_HTTPS_PORT environment variable.
Primary vDirect server IP address, may be set as VDIRECT_IP environment variable.
vDirect server password, may be set as VDIRECT_PASSWORD environment variable.
Secondary vDirect server IP address, may be set as VDIRECT_SECONDARY_IP environment variable.
Amount of time to wait for async operation completion [seconds],
may be set as VDIRECT_TIMEOUT environment variable.
may be set as VDIRECT_HTTPS or VDIRECT_USE_SSL environment variable.
vDirect server username, may be set as VDIRECT_USER environment variable.
Wait for async operation to complete, may be set as VDIRECT_WAIT environment variable.
Requires the Radware vdirect-client Python package on the host. This is as easy as
pip install vdirect-client
- name: Upload a new or updates an existing runnable file
Common return values are documented here, the following are the fields unique to this module:
Message detailing upload result