Hey Ben,

I feel your pain when it comes to designing automation for something. Are 
you use making your decision making based on the facts pulled from the 
switch? Care to share a playbook and a debug of the facts you want to loop 
through?


On Wednesday, March 22, 2023 at 7:57:02 PM UTC-5 Ben Jones wrote:

> Hello! 
>
> this might be quite specific, but I'm loosing the will...
>
> We're trying to automate our switch configuration using Ansible with 
> Netbox providing the configurations.
>
> I've got a dynamic inventory xml which is generated by querying Netbox via 
> the Rest API based on tags.
>
> I want the playbook to pull all the switch information from Netbox and 
> push it to the relevant switch.
>
> I've had this working for a single switch on a single interface, but after 
> trying for many hours, I can't get it to loop through each interface on 
> each switch.
>
> Is anyone doing anything similar? Is this even a good idea? What am I 
> doing with my life? 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c3e69742-c27b-442e-963b-875bca46e209n%40googlegroups.com.

Reply via email to