willguibr.zpacloud_ansible.zpa_trusted_network_info (2.9.0) — module

Provides details about a specific trusted network created in the Zscaler Private Access Mobile Portal

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

Provides details about a specific trusted network created in the Zscaler Private Access Mobile Portal


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: trusted network
  hosts: localhost
  tasks:
    - name: Gather information about all trusted network
      willguibr.zpacloud_ansible.zpa_trusted_network_info:
        #name: Corp-Trusted-Networks
        id: 216196257331282234
      register: networks
    - name: networks
      debug:
        msg: "{{ networks }}"

Inputs

    
id:
    description:
    - ID of the trusted network.
    required: false
    type: str

name:
    description:
    - Name of the trusted network.
    required: false
    type: str

Outputs

data:
  description: Trusted Network information
  elements: dict
  returned: success
  sample:
  - creation_time: '1625992655'
    id: '216196257331282234'
    modified_by: '72057594037928115'
    modified_time: '1631935891'
    name: Corp-Trusted-Networks
    network_id: 869fbea4-799d-422a-984f-d40fbe53bc02
    zscaler_cloud: zscalerthree
  type: list