cdot65.prisma_access.tag (0.1.8) — module

Manage tag objects.

| "added in version" 0.1.0 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 tag objects within Prisma Access.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
    - name: Create tags
      cdot65.prisma_access.tag:
        provider:
          client_id: "automation@1111111111.iam.panserviceaccount.com"
          client_secret: "11111111-1111-1111-1111-111111111111"
          scope: "1111111111"
        name: "{{ item.name }}"
        color: "{{ item.color }}"
        comments: "{{ item.comments }}"
        folder: "Service Connections"
        state: "present"
      loop:
        - name: "ansible-test"
          color: "Lavender"
          comments: "This is a test from Ansible"

Inputs

    
name:
    description:
    - Value of the tag'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

token:
    description:
    - used to authenticate to the API
    required: true
    type: str

folder:
    choices:
    - GlobalProtect
    - Mobile Users
    - Remote Networks
    - Service Connections
    - Shared
    description:
    - The folder you would like to associate to these tags goes here
    required: true
    type: str

comments:
    description:
    - Additional comments about the tag
    required: false
    type: str