willguibr.zpacloud_ansible.zpa_server_group_info (2.9.0) — module

Gather information about an server group

| "added in version" 1.0.0 of willguibr.zpacloud_ansible"

Authors: William Guilherme (@willguibr)

Install collection

Install with ansible-galaxy collection install willguibr.zpacloud_ansible:==2.9.0


Add to requirements.yml

  collections:
    - name: willguibr.zpacloud_ansible
      version: 2.9.0

Description

This module can be used to gather information about an server group.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: server group
  hosts: localhost
  tasks:
    - name: Gather information about all server group
      willguibr.zpacloud_ansible.zpa_server_group_info:
        name: Browser Access Apps
        #id: 216196257331291969
      register: servers
    - name: servers
      debug:
        msg: "{{ servers }}"

Inputs

    
id:
    description:
    - ID of the server group.
    required: false
    type: str

name:
    description:
    - Name of the server group.
    required: false
    type: str

Outputs

data:
  description: server group information
  elements: dict
  returned: success
  sample:
  - app_connector_groups:
    - '216196257331291924'
    applications:
    - '216196257331291974'
    config_space: DEFAULT
    description: SGIO Domain Controllers
    dynamic_discovery: true
    enabled: true
    id: '216196257331291964'
    ip_anchored: false
    name: SGIO Domain Controllers
    servers:
    - '216196257331291974'
  type: list