cdot65.prisma_access.address_group (0.1.8) — module

Manage address group objects.

| "added in version" 0.1.2 of cdot65.prisma_access"

Authors: Calvin Remsburg (@cdot65)

Install collection

Install with ansible-galaxy collection install cdot65.prisma_access:==0.1.8


Add to requirements.yml

  collections:
    - name: cdot65.prisma_access
      version: 0.1.8

Description

Manage address group objects within Prisma Access.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
    - name: Create address group
      cdot65.prisma_access.address_group:
        provider:
          client_id: "{{ client_id }}"
          client_secret: "{{ client_secret }}"
          scope: "{{ scope }}"
        name: "AnsibleTestGroupStatic"
        folder: "Service Connections"
        description: "This is just a test"
        static:
          - "AnsibleTestAddress"
        tag:
          - "ansible-test"
        state: "present"
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
    - name: Create address group
      cdot65.prisma_access.address_group:
        provider:
          client_id: "{{ client_id }}"
          client_secret: "{{ client_secret }}"
          scope: "{{ scope }}"
        name: "AnsibleTestGroupDynamic"
        folder: "Service Connections"
        description: "This is just a test"
        dynamic:
          filter: "'ansible-test'"
        tag:
          - "ansible-test"
        state: "present"

Inputs

    
name:
    description:
    - Value of the address group object's name
    required: true
    type: str

state:
    choices:
    - absent
    - present
    description:
    - declare whether you want the resource to exist or be deleted
    required: true
    type: str

folder:
    choices:
    - Shared
    - Mobile Users
    - Remote Networks
    - Service Connections
    - Mobile Users Container
    - Mobile Users Explicit Proxy
    description:
    - declare where the object should reside.
    required: true
    type: str

static:
    description:
    - declare whether the address group object is static
    required: false
    type: list

dynamic:
    description:
    - declare the address group object is dynamic
    required: false
    suboptions:
      filter:
        required: true
        type: str
    type: dict

description:
    description:
    - Description of the address object.
    required: false
    type: str