Hello Palo Alto Community
I've been trying to make work my first Playbook in ansible, to pretty much whatever it works, right now Im trying to create a test address object, but I kept geeting what it looks like, a syntax error this is the configuration of my playbook.
The image attached is the error im seeing(Looks like connection to the device is established correctly, is just that something maybe syntax is wrong.), do you have any idea what I might be missing?
Thanks in Advance
The Galaxy was install correctly
ansible-galaxy collection install paloaltonetworks.panos
This is exactly the playbook configuration.
- hosts: DEV
connection: local
vars:
device:
ip_address: '{{ 1.1.1.1 }}'
username: '{{ 111111111 | default(omit) }}'
password: '{{ 111111111 | default(omit) }}'
api_key: '{{ supersecretkey | default(omit) }}'
tasks :
- name: Create address object
panos_address_object:
provider: '{{ device }}'
name: 'Hello-World'
value: '1.1.1.1'
description: 'Test'
collections :
- paloaltonetworks.panos
Please note you are posting a public message where community members and experts can provide assistance. Sharing private information such as serial numbers or company information is not recommended.
... View more