ansible.builtin.cp_mgmt_verify_policy (v2.9.17) — module

Verifies the policy of the selected package.

| "added in version" 2.9 of ansible.builtin"

Authors: Or Soffer (@chkp-orso)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.17

Description

Verifies the policy of the selected package.

All operations are performed over Web Services API.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: verify-policy
  cp_mgmt_verify_policy:
    policy_package: standard

Inputs

    
version:
    description:
    - Version of checkpoint. If not given one, the latest version taken.
    type: str

wait_for_task:
    default: true
    description:
    - Wait for the task to end. Such as publish task.
    type: bool

policy_package:
    description:
    - Policy package identified by the name or UID.
    type: str

auto_publish_session:
    default: false
    description:
    - Publish the current session if changes have been performed after task completes.
    type: bool

wait_for_task_timeout:
    default: 30
    description:
    - How many minutes to wait until throwing a timeout error.
    type: int

Outputs

cp_mgmt_verify_policy:
  description: The checkpoint verify-policy output.
  returned: always.
  type: dict