正在加载视频...
视频加载失败
Ansible Networking, You're doing it wrong. Boost your network playbook efficiency in under a minute: 🎛️ Leverage ansible_network_os for seamless portability. 📁 Switch tasks based on file names, no more conditionals! 🚫 Handle unsupported OS gracefully with with_first_found.
11 条评论

I find this content very helpful. Do you have a YouTube channel, if yes please share the link with me. Thank you 🙏

❤️

Hi Sean, do you have an Ansible wizardry course ? I want to get started.

We have some free interactive labs online then we also have a free introductory class DO007 You can also follow my team on Youtube:

This is a game changer!!!! I love this

Awesome stuff. Thanks.

I know, it's just an example, but using "eos_vlans" is usually fundamentally wrong. Apart from some rare cases, use "eos_config" and "arista.avd".

I prefer to use the paramiko library 🙃🙃

How convenient :)

Hi, I'm a little lost when it comes to the "item" variable in the include_tasks. Is that being used to point to each device or another playbook?

item will return to anything in the loop, so in this case it will be your ansible_network_os.yml and if that doesn’t exist then it goes to unsupported.yml which is just a debug statement. It’s a programmatic way to avoid multiple conditionals.


