forked from PaloAltoNetworks/pan-fca
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.yml
42 lines (37 loc) · 1.09 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
- name: "RUN DATA DRIVEN PALO ALTO TERRAFORM AND ANSIBLE SOLUTION"
hosts: "localhost"
gather_facts: "no"
connection: "local"
tasks:
- name: Create route to Next-VR
panos_static_route:
ip_address: '52.142.116.150'
username: 'fwadmin'
password: 'Paloalto123'
name: 'Test-NextVR5'
destination: '5.5.59.0/24'
nexthop: 'untrust'
virtual_router: 'trust'
nexthop_type: 'next-vr'
- name: Create route 'Test-Four'
panos_static_route:
ip_address: '52.142.90.238'
username: 'fwadmin'
password: 'Paloalto123'
name: 'Test-Four'
destination: '0.0.0.0/0'
interface: 'ethernet1/2'
nexthop: '10.217.127.36'
virtual_router: 'trust'
# - name: enable DHCP client on ethernet1/2 in zone internal
# panos_interface:
# ip_address: '52.142.90.238'
# username: 'fwadmin'
# password: 'Paloalto123'
# if_name: "ethernet1/1"
# zone_name: "untrust"
# state: present
# vr_name: "untrust"
# create_dhcp_default_route: false
# management_profile: "Azure HealthProbe"