check_point.mgmt.cp_mgmt_import_management module – Import the primary Security Management Server database or the primary Multi-Domain Server database or the single Domain database and the applicable Check Point configuration.
Note
This module is part of the check_point.mgmt collection (version 6.5.0).
You might already have this collection installed if you are using the ansible package.
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install check_point.mgmt.
To use it in a playbook, specify: check_point.mgmt.cp_mgmt_import_management.
New in check_point.mgmt 5.0.0
Synopsis
- Import the primary Security Management Server database or the primary Multi-Domain Server database or the single Domain database and the applicable Check Point configuration. <br/>After the import starts, the session expires and you must login again. 
- All operations are performed over Web Services API. 
- Available from R81.10 management version. 
Parameters
| Parameter | Comments | 
|---|---|
| Publish the current session if changes have been performed after task completes. Choices: 
 | |
| IPv4 address for the imported Domain.<br><font color=”red”>Required only for</font> importing the Security Management Server into the Multi-Domain Server. | |
| Domain name to be imported. Must be unique in the Multi-Domain Server.<br><font color=”red”>Required only for</font> importing the Security Management Server into the Multi-Domain Server. | |
| Multi-Domain Server name for the imported Domain.<br><font color=”red”>Required only for</font> importing the Security Management Server into the Multi-Domain Server. | |
| Path to the exported database file to be imported. | |
| Ignoring the verification warnings. By Setting this parameter to ‘true’ import will not be blocked by warnings. Choices: 
 | |
| Include import of the Endpoint Security Management configuration files. Choices: 
 | |
| Include import of the Endpoint Security Management database. Choices: 
 | |
| Import logs without log indexes. Choices: 
 | |
| Import logs with log indexes. Choices: 
 | |
| Preserve the connection of the Management Server to Check Point’s Infinity Portal.<br>Use this flag after ensuring that the original Management Server does not communicate with Infinity Portal.<br>Note, resuming the connection is also possible after import with set-cloud-services. Available from R81.20 management version. Choices: 
 | |
| If true, only runs the pre-import verifications instead of the full import. Choices: 
 | |
| If true, verify that the restore operation is valid for this input file and this environment. <br>Note, Restore operation will not be executed. Choices: 
 | |
| Version of checkpoint. If not given one, the latest version taken. | |
| Wait for the task to end. Such as publish task. Choices: 
 | |
| How many minutes to wait until throwing a timeout error. Default:  | 
Examples
- name: import-management
  cp_mgmt_import_management:
    file_path: /var/log/domain1_exported.tgz
Return Values
Common return values are documented here, the following are the fields unique to this module:
| Key | Description | 
|---|---|
| The checkpoint import-management output. Returned: always. | 
