Playback starts YouTube’s embedded player (privacy-enhanced mode).
Ansible Shell Module Tutorial - Complete Beginner's Guide
ChannelPercy Grunwald from TopTechSkillsChapters
Description from the creator
🎓 My new Ansible Course (Productive with Ansible, 2024) now in Early Access: learn.toptechskills.com/courses/productive-with…
The Ansible Shell Module allows you to run arbitrary commands on a remote host, just like you were logged into the shell. The Shell and Command modules are very similar, the major difference being that the shell module does not escape commands, allowing you to use shell operators like redirects ("greater than", "less than"), pipe ("|") and boolean operators ("&&", "||"). This does mean that the Shell module is susceptible to command injection/shell injection, but this is easy enough to overcome by using the "quote" filter when using variables with the Shell module.
- 0:00 -- Shell Module vs Command Module
- 3:39 -- Basic Shell Module Usage (+ args, environment and loops)
- 5:15 -- Preventing Shell Injection
ℹ️ READ THE IN-DEPTH TUTORIAL HERE == bit.ly/2CXMois
SETUP/EDITOR/IDE
✅ Visual Studio Code (code.visualstudio.com/)
✅ Ansible extension by Microsoft (bit.ly/2SdnqoK).
✅ SEE HOW I SET UP ANSIBLE == youtu.be/yiooWsMERaY
Thanks for watching and hope it's entertaining/useful for you! Hit me up in the comments if you have any questions or feedback 💪.
Related & Channel
▶️ bit.ly/2VWid3D == Playlist of all Ansible videos
⭐️ bit.ly/2HavqCu == Subscribe to our YouTube Channel
Our Site & Socials
🌐 bit.ly/2shtKwZ == TopTechSkills.com
🐦 bit.ly/2RkgZkk == @TopTechSkills on Twitter
🐦 bit.ly/2AA19aN == @PercyGrunwald on Twitter
😃 bit.ly/2ACQgEW == @TopTechSkills on Facebook
🕹 bit.ly/2CWR3ST == @PercyGrunwald on Twitch
The Ansible Shell Module allows you to run arbitrary commands on a remote host, just like you were logged into the shell. The Shell and Command modules are very similar, the major difference being that the shell module does not escape commands, allowing you to use shell operators like redirects ("greater than", "less than"), pipe ("|") and boolean operators ("&&", "||"). This does mean that the Shell module is susceptible to command injection/shell injection, but this is easy enough to overcome by using the "quote" filter when using variables with the Shell module.
- 0:00 -- Shell Module vs Command Module
- 3:39 -- Basic Shell Module Usage (+ args, environment and loops)
- 5:15 -- Preventing Shell Injection
ℹ️ READ THE IN-DEPTH TUTORIAL HERE == bit.ly/2CXMois
SETUP/EDITOR/IDE
✅ Visual Studio Code (code.visualstudio.com/)
✅ Ansible extension by Microsoft (bit.ly/2SdnqoK).
✅ SEE HOW I SET UP ANSIBLE == youtu.be/yiooWsMERaY
Thanks for watching and hope it's entertaining/useful for you! Hit me up in the comments if you have any questions or feedback 💪.
Related & Channel
▶️ bit.ly/2VWid3D == Playlist of all Ansible videos
⭐️ bit.ly/2HavqCu == Subscribe to our YouTube Channel
Our Site & Socials
🌐 bit.ly/2shtKwZ == TopTechSkills.com
🐦 bit.ly/2RkgZkk == @TopTechSkills on Twitter
🐦 bit.ly/2AA19aN == @PercyGrunwald on Twitter
😃 bit.ly/2ACQgEW == @TopTechSkills on Facebook
🕹 bit.ly/2CWR3ST == @PercyGrunwald on Twitch
About this tutorial
Percy Grunwald from TopTechSkills published this 7:50 video tutorial on October 29, 2019. It has been watched 25,921 times on YouTube.
- Category
- Science & Technology
- Duration
- 7:50
- Published
- October 29, 2019
- Views
- 25,921
- Likes
- 401
Tags
Share
This tutorial in other languages
- FRAnsible Shell Module Tutorial - Complete Guide du débutant
- ESAnsible Shell Módulo Tutorial - Completa Guía para principiantes
- PTAnsible Shell Módulo Tutorial - Guia Completo do novato
- ITAnsible Shell Module Tutorial - guida completa per principianti
- DEAnsible Shell Modul Tutorial - Komplette Anfängerleitfaden
- NLAnsible Shell Module Tutorial - Compleet Beginner's Guide
- RUАнзибль Shell Модуль Учебник - Полное руководство для начинающих
- PLAnsibl Shell Module Tutorial - Kompletny przewodnik dla początkujących
- JAAnsibleシェルモジュールのチュートリアル - 完全な初心者のためのガイド
- ARAnsible شل وحدة دروس - دليل المبتدئين الكامل
- HIAnsible शैल मॉड्यूल ट्यूटोरियल - पूरा प्रारंभिक मार्गदर्शिका
- IDAnsible Shell Modul Tutorial - Lengkap Panduan Pemula