PARALLAX

cp_mgmt_put_file

put file on Check Point over Web Services API through native controller HTTPAPI with owned sessions

Collection: check_point.mgmt

Full Name: check_point.mgmt.cp_mgmt_put_file

Controller module — runs on the local controller, not on remote hosts.

Synopsis

put file on Check Point over Web Services API through native controller HTTPAPI with owned sessions

Parameters

NameTypeRequiredDefaultDescription
auto_publish_sessionboolfalsePublish this owned session explicitly after the operation; default false.
commentsstrComments string.
file_contentstrN/A
file_namestrN/A
file_pathstrN/A
targetslistOn what targets to execute this command. Targets may be identified by their name, or object unique identifier.
versionstrManagement API version path; omitted uses the default API version.
wait_for_taskbooltrueWait for returned asynchronous task identifiers; default true.
wait_for_task_timeoutint30Polling deadline in minutes; default 30, negative values use 30, maximum 1440.

Example

yaml
- name: put-file
  check_point.mgmt.cp_mgmt_put_file:
    file_content: 'vs ip 192.0.2.1\nvs2 ip 192.0.2.2'
    file_name: vsx_conf
    file_path: /home/admin/
    targets:
      - corporate-gateway
Search
    ↑ ↓ move↵ openesc close