check_point.mgmt.cp_mgmt_install_software_package module – Installs the software package on target machines.

Note

This module is part of the check_point.mgmt collection (version 5.2.3).

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_install_software_package.

New in check_point.mgmt 2.0.0

Synopsis

  • Installs the software package on target machines.

  • All operations are performed over Web Services API.

Parameters

Parameter

Comments

auto_publish_session

boolean

Publish the current session if changes have been performed after task completes.

Choices:

  • false ← (default)

  • true

cluster_installation_settings

dictionary

Installation settings for cluster.

cluster_delay

integer

The delay between end of installation on one cluster members and start of installation on the next cluster member.

cluster_strategy

string

The cluster installation strategy.

concurrency_limit

integer

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

method

string

NOTE, Supported from Check Point version R81

How we want to use the package.

Choices:

  • "install"

  • "upgrade"

name

string

The name of the software package.

package_location

string

NOTE, Supported from Check Point version R81

The package repository.

Choices:

  • "automatic"

  • "target-machine"

  • "central"

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: install-software-package
  cp_mgmt_install_software_package:
    name: Check_Point_R80_40_JHF_MCD_DEMO_019_MAIN_Bundle_T1_VISIBLE_FULL.tgz
    package_location: automatic
    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_install_software_package

dictionary

The checkpoint install-software-package output.

Returned: always.

Authors

  • Or Soffer (@chkp-orso)