Join Slack
Powered by
<How can I loop through a list of dicts and compar...
# community-feeds
r
rss
09/13/2023, 8:29 PM
How can I loop through a list of dicts and compare the value of a key and make changes with it
I am looping through a series of switches checking if they have the vlans which the firewall has, and change the 'name' key to equal the 'alias' key on the switches. This is what I have so far. The last part is where I think my problem lies. --- - name: Sync...
Open in Slack
Previous
Next