I’m trying to pass a list to the filter however it is returning an empty dict. Is there another way to do this or perhaps I’ve missed something here? The reason I want to do this is because I’m dynamically determining what hosts I want within the script, when I have a host I need to make changes on I’d like to just append it to a list then pass that list to Nornir at the end to run tasks on.
task_filter = nr.filter(hostname=[“10.0.253.129”, “10.0.253.15”])
Process finished with exit code 0