check_point.gaia.cp_gaia_ntp_facts (5.0.1) — module

Show NTP settings.

| "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

Show the NTP state, servers(primary and secondary) and the current NTP server.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Show current NTP configuration
  check_point.gaia.cp_gaia_ntp_facts:

Inputs

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

Outputs

ansible_facts:
  contains:
    enabled:
      description: active status.
      returned: always
      type: bool
    servers:
      contains:
        address:
          description: Ipv4-address or Ipv6-address.
          returned: always
          type: str
        status:
          description: NTP status.
          returned: always
          type: str
        type:
          description: NTP type.
          returned: always
          type: str
        version:
          description: NTP version.
          returned: always
          type: int
      description: Servers list.
      elements: dict
      returned: always
      type: list
  description: The checkpoint object facts.
  returned: always.
  type: dict