community / community.network / 5.0.2 / module / vdirect_file Uploads a new or updates an existing runnable file into Radware vDirect server Authors: Evgeny Fedoruk @ Radware LTD (@evgenyfedoruk)community.network.vdirect_file (5.0.2) — module
Install with ansible-galaxy collection install community.network:==5.0.2
collections: - name: community.network version: 5.0.2
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.
- 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
file_name: description: - vDirect runnable file name to be uploaded. - May be velocity configuration template (.vm) or workflow template zip file (.zip). required: true vdirect_ip: description: - Primary vDirect server IP address, may be set as VDIRECT_IP environment variable. required: true vdirect_user: description: - vDirect server username, may be set as VDIRECT_USER environment variable. required: true vdirect_wait: default: 'yes' description: - Wait for async operation to complete, may be set as VDIRECT_WAIT environment variable. type: bool validate_certs: aliases: - vdirect_validate_certs default: 'yes' description: - If C(no), SSL certificates will not be validated, - may be set as VDIRECT_VALIDATE_CERTS or VDIRECT_VERIFY environment variable. - This should only set to C(no) used on personally controlled sites using self-signed certificates. type: bool vdirect_timeout: default: 60 description: - Amount of time to wait for async operation completion [seconds], - may be set as VDIRECT_TIMEOUT environment variable. vdirect_use_ssl: default: 'yes' description: - If C(no), an HTTP connection will be used instead of the default HTTPS connection, - may be set as VDIRECT_HTTPS or VDIRECT_USE_SSL environment variable. type: bool vdirect_password: description: - vDirect server password, may be set as VDIRECT_PASSWORD environment variable. required: true vdirect_http_port: default: 2188 description: - vDirect server HTTP port number, may be set as VDIRECT_HTTP_PORT environment variable. vdirect_https_port: default: 2189 description: - vDirect server HTTPS port number, may be set as VDIRECT_HTTPS_PORT environment variable. vdirect_secondary_ip: description: - Secondary vDirect server IP address, may be set as VDIRECT_SECONDARY_IP environment variable.
result: description: Message detailing upload result returned: success sample: Workflow template created type: str