03. Ansible Gather Facts and When Condition

preview_player
Показать описание
  00:00 Ansible Gather Facts Introduction
00:50 Running Ansible Setup Module
02:25 Understanding Ansible Gather Facts Detail
05:00 Redirecting Ansible command output to a file
06:29 Using Ansible variables in a playbook
14:52 Using When condition in Ansible

#️⃣ HashTags:
#ansible #devops #vikasjha001

Buy my courses on Udemy at a special price for a limited time:

🤝 For collaboration or other inquiries connect
📞 Whatsapp: +917042103414  
Connect on Social Media:

🚀 Enjoying our tech videos? Help us raise a virtual toast! 🍻

If you've found our tech insights, tutorials, and reviews valuable, consider supporting us by buying us a virtual beer. Your contribution helps us continue creating quality content, investing in better equipment, and exploring even more exciting tech topics.

🍻 Your support means the world to us! Every "beer" brings us closer to creating more engaging, informative, and fun tech content for you.

Thank you for being a part of our tech community. Together, we can make technology more accessible and enjoyable for everyone!

Stay tuned for more tech adventures! 📱💻🎮
Рекомендации по теме
Комментарии
Автор

can we apply condition, like if we don't find particular syntax more than 2 time then print the host file, , let say in cisco switch if i don't find "tacacs-server host x.x.x.x key" two times then print this host detail

faizankhd
Автор

Thanks for the video. Quick question, when you use 'when' and the ansible fact is without quote and curly brace like ansible_os_family == "RedHat"

Quote and curly braces are unnecessary when using 'when' or when using ansible fact? I'm bit confused about this
Thanks

+
when: ansible_os_family == 'RedHat'
Can this task use without first task?

kihunkim