PARALLAX

cp_mgmt_import_smart_task

Import SmartTask from a file through native controller HTTPAPI with owned sessions

Collection: check_point.mgmt

Full Name: check_point.mgmt.cp_mgmt_import_smart_task

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

Synopsis

Import SmartTask from a file through native controller HTTPAPI with owned sessions

Parameters

NameTypeRequiredDefaultDescription
auto_publish_sessionboolfalsePublish this owned session explicitly after the operation; default false.
file_pathstryesPath to the SmartTask file to be imported.
Should be the full file path (example, “/home/admin/exported-smart-task.txt”).
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: import-smart-task
  check_point.mgmt.cp_mgmt_import_smart_task:
    file_path: /home/admin/smart-task.txt
Search
    ↑ ↓ move↵ openesc close