We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0171378 commit 2aa8f62Copy full SHA for 2aa8f62
1 file changed
example_lookup_policy.yml
@@ -0,0 +1,19 @@
1
+---
2
+- hosts: all
3
+ connection: local
4
+ gather_facts: true
5
+ name: Example Policy Lookup Playbook
6
+
7
+ vars:
8
+ provider:
9
+ ip_address: "{{ ansible_host }}"
10
+ username: "{{ lookup('env', 'ANSIBLE_NET_USERNAME') }}"
11
+ password: "{{ lookup('env', 'ANSIBLE_NET_PASSWORD') }}"
12
13
+ roles:
14
+ - lookup_policy
15
16
+ tasks:
17
+ - name: Print the results
18
+ ansible.builtin.debug:
19
+ msg: "{{ lookup_policy_security_policy_match_result | paloaltonetworks.panos_policy_automation.panos_op_stdout_to_dict }}"
0 commit comments