vdirect_file – Uploads a new or updates an existing runnable file into Radware vDirect server¶
New in version 2.4.
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.1.1
Parameters¶
Notes¶
Note
Requires the Radware vdirect-client Python package on the host. This is as easy as
pip install vdirect-client
Examples¶
- name: vdirect_file
  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 
                                 | 
        
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)
Hint
If you notice any issues in this documentation, you can edit this document to improve it.