cdot65.prisma_access.address (0.1.8) — module

Manage address objects.

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

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
    - name: Create ip-netmask address objects
      cdot65.prisma_access.address:
        provider:
          client_id: "{{ client_id }}"
          client_secret: "{{ client_secret }}"
          scope: "{{ scope }}"
        description: "this is an example description"
        folder: "Service Connections"
        ip_netmask: "100.10.254.0/24"
        name: "Ansible Test"
        state: "present"
        tag: "Automation"
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
    - name: Create ip-range address objects
      cdot65.prisma_access.address:
        provider:
          client_id: "{{ client_id }}"
          client_secret: "{{ client_secret }}"
          scope: "{{ scope }}"
        description: "this is an example description"
        folder: "Service Connections"
        ip_range: "100.10.254.10-100.10.254.99"
        name: "Ansible Test"
        state: "present"
        tag: "Automation"
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
    - name: Create fqdn address objects
      cdot65.prisma_access.address:
        provider:
          client_id: "{{ client_id }}"
          client_secret: "{{ client_secret }}"
          scope: "{{ scope }}"
        description: "this is an example description"
        folder: "Service Connections"
        fqdn: "redtail.com"
        name: "Ansible Test"
        state: "present"
        tag: "Automation"
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
    - name: Create wildcard address objects
      cdot65.prisma_access.address:
        provider:
          client_id: "{{ client_id }}"
          client_secret: "{{ client_secret }}"
          scope: "{{ scope }}"
        description: "this is an example description"
        folder: "Service Connections"
        ip_wildcard: "100.0.6.0/0.0.248.255"
        name: "Ansible Test"
        state: "present"

Inputs

    
fqdn:
    description:
    - value of a fully qualified domain name
    required: false
    type: str

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

ip_range:
    description:
    - value of a range of IP addresses
    required: false
    type: str

ip_netmask:
    description:
    - value of a standard ip prefix formatted address
    required: false
    type: str

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

ip_wildcard:
    description:
    - wildcard formatted ip address
    required: false
    type: str