Happy holiday to all,
I am trying to integrate AWX v19 & Netbox v3.1 but having trouble to execute playbooks
I have a remote-host inventory item created which has remote host information
My project is created & synced with git
I have a template created as below
My remote host has the recommended Ansible version, Python3 version, pynetbox & netbox collections installed.
When I launch the template i get the following error & am not sure what I have missed.
My playbook which calls a role is detailed below:
---
- name: Create/Remove region within Netbox with only required information
netbox.netbox.netbox_region:
netbox_url: "{{netbox_url}}"
netbox_token: "{{netbox_token}}"
validate_certs: no
data:
name: "{{
item.name}}"
state: "{{item.state}}"
loop: "{{region}}"
when:
-
item.name != ""
- item.state == "present" or item.state == "absent"
tags:
- region
...
Have I missed something in my AWX setup, can I run this from a remote host?
Any help this side of Xmas would be great :)
Regards