check_point.gaia.cp_gaia_hostname (5.0.1) — module

Setting the hostname of a machine.

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

Authors: Yuval Feiger (@chkp-yuvalfe)

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

Setting the hostname of a machine.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Changing a hostname
  check_point.gaia.cp_gaia_hostname:
    name: new-hostname

Inputs

    
name:
    description: New hostname to change. Hostname can be a combination of letters and
      numbers, it cannot be in IP format or start/end with characters such as ''.'' And
      ''-''.
    required: true
    type: str

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

Outputs

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