check_point.mgmt.cp_mgmt_verify_software_package module – Verifies the software package on target machines.

Note

This module is part of the check_point.mgmt collection (version 4.0.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_verify_software_package.

New in check_point.mgmt 2.0.0

Synopsis

  • Verifies the software package on target machines.

  • All operations are performed over Web Services API.

Parameters

Parameter

Comments

concurrency_limit

integer

The number of targets, on which the same package is installed at the same time.

download_package

boolean

NOTE, Supported from Check Point version R81

Should the package be downloaded before verification.

Choices:

  • false

  • true

download_package_from

string

NOTE, Supported from Check Point version R81

Where is the package located.

Choices:

  • "automatic"

  • "central"

  • "target-machine"

name

string

The name of the software package.

targets

list / elements=string

On what targets to execute this command. Targets may be identified by their name, or object unique identifier.

version

string

Version of checkpoint. If not given one, the latest version taken.

wait_for_task

boolean

Wait for the task to end. Such as publish task.

Choices:

  • false

  • true ← (default)

wait_for_task_timeout

integer

How many minutes to wait until throwing a timeout error.

Default: 30

Examples

- name: verify-software-package
  cp_mgmt_verify_software_package:
    download_package: 'true'
    download_package_from: target-machine
    name: Check_Point_R80_40_JHF_MCD_DEMO_019_MAIN_Bundle_T1_VISIBLE_FULL.tgz
    targets.1: corporate-gateway

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key

Description

cp_mgmt_verify_software_package

dictionary

The checkpoint verify-software-package output.

Returned: always.

Authors

  • Or Soffer (@chkp-orso)