check_point.gaia.cp_gaia_ntp (5.0.1) — module

Sets NTP status and servers.

| "added in version" 3.0.0 of check_point.gaia"

Authors: Ameer Asli (@chkp-ameera)

Install collection

Install with ansible-galaxy collection install check_point.gaia:==5.0.1


Add to requirements.yml

  collections:
    - name: check_point.gaia
      version: 5.0.1

Description

Sets NTP status and servers.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Setting ntp servers for the system
  check_point.gaia.cp_gaia_ntp:
    enabled: False
    servers: [{"version": 1, "type": "primary", "address": "1.1.1.1"}]

Inputs

    
enabled:
    description: NTP active status.
    required: false
    type: bool

servers:
    description: Servers to set. Note there cannot be more than one primary/secondary
      servers.
    elements: dict
    required: false
    suboptions:
      address:
        description: Server address (IPv4/IPv6).
        required: false
        type: str
      type:
        choices:
        - primary
        - secondary
        description: Server type.
        required: false
        type: str
      version:
        description: NTP server version. Valid values are 1-4.
        required: false
        type: int
    type: list

version:
    description: Gaia API version for example 1.6.
    required: false
    type: str

Outputs

ntp:
  description: The checkpoint object updated.
  returned: always.
  type: dict