Skip to content

Commit

Permalink
feat: url category playbook
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesholland-uk committed Feb 27, 2023
1 parent 41e67d7 commit f21578e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions pan-os-ansible/url_categories.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
- name: URL category test
hosts: '{{ target | default("host_labfw") }}'
connection: local

vars:
device:
ip_address: "{{ ip_address }}"
username: "{{ username | default(omit) }}"
password: "{{ password | default(omit) }}"
api_key: "{{ api_key | default(omit) }}"

tasks:
- name: Create test URL category
paloaltonetworks.panos.panos_custom_url_category:
type: URL List
provider: "{{ device }}"
name: test-api-list
description: test-api-list
url_value:
- www.example.com
- www2.example.com

0 comments on commit f21578e

Please sign in to comment.