Skip to content

Commit

Permalink
feat: Add config export
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesholland-uk committed Oct 31, 2023
1 parent 07eaa85 commit 59f1821
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pan-os-ansible/export_operations_files.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- name: Export ops-related files
hosts: '{{ target | default("firewall") }}'
hosts: '{{ target | default("host_vm-series-a") }}'
connection: local

vars:
Expand All @@ -17,6 +17,12 @@
category: "stats-dump"
filename: "statsdump.tar.gz"

- name: Download running configuration file
paloaltonetworks.panos.panos_export:
provider: "{{ device }}"
category: configuration
filename: running-config.xml

- name: Download Device State file
paloaltonetworks.panos.panos_export:
provider: "{{ device }}"
Expand Down

0 comments on commit 59f1821

Please sign in to comment.