Ansible Command Module Tutorial - Complete Beginner's Guide

preview_player
Показать описание

In this tutorial video I give you a complete beginner's guide to the Ansible Command Module. You can use Ansible's Command Module to run arbitrary commands on a remote host, just like you were logged in to the shell. The Ansible Command and Shell Modules are quite similar, and I explain some of the differences in this video. I've split this video into sections to make it easier to navigate:

- 0:32 -- Command Module Basics
- 1:33 -- Command vs Shell Module
- 4:09 -- Run Commands in Different Directories
- 6:06 -- Set & Use Environment Variables
- 8:30 -- Run Multiple Commands in a Loop

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

Our Site & Socials
Рекомендации по теме
Комментарии
Автор

Astonished with your clarity of teaching. Thanks to you.

karthickbaskar
Автор

Thanks for sharing. Like to see more content on Ansible...

bhupendrasinghsuri
Автор

As a beginner, it is Really Useful for me sir !!!. Thank you:)

SaravanaKumar-tzge
Автор

Great Content !! Kindly prepare and share complete series to learn Ansible. This will really help !!

shrashthiagarwal
Автор

Very good explanation.. Pls upload more videos on ansible modules and roles.. Thank you.

purnimashanti
Автор

I like your videos and the way you explain is great..👍👍
Do more hands-on example
Thanks

rahul_raj
Автор

It's really awesome 😊..I m expecting more videos on different useful modules and ansible roles ..keep going awesome 👍👌

chinnapaladugu
Автор

very good video
excellent quality
crystal clear voice ..
moreover great content...

sameerthorappa
Автор

Wow man, how can you make it look so easy to learn Ansible? You’re really good at sharing knowledge, congrats!

And now that you were talking about Ruby on Rails, I was wondering if you have a good way to installs RVM using Ansible?
I’ve been trying without any look to accomplish it! Thanks I’m advanced!

alex_ventura
Автор

Thanks for the video!
Is possible to run command module and issue database statements like INSERT INTO?

raphaelaraujo
Автор

vi thanks_PG


The practice is wow !
I got, what l was expecting?

Thanks and keep uploading

cat thanks_PG

nL-vegi
Автор

when I try to run command module the tasks are skipped. Any idea what I am missing?

willreid
Автор

nice tutorial. can you tell me what editor are you using?

datworks
Автор

Could you please make a video how to deploy apache spark on docker containers using ansible. I haven't find any good resource

ahsan-lish
Автор

How can we achieve round robin strategy while deploying an app with ansible on multiple servers ?

chikkusingh
Автор

is it possible to use command module with network devices ?
i mean with Cisco/Huawei routers and switches ?

sameerthorappa
Автор

Hello, nice video !! Can you tell me how to install the command module please ? When I attempt to use the command module with like mkdir, ansible complains that command is not there.

jackcsprat
Автор

How can we use diff command and store the changes in file?

lionaldo
Автор

1:22 Well, no - you can't see that file being created by touch, you can see the file is there. That is a massive difference ... A lot of programming bugs come out of assumptions, here you are showing an example that is assuming things.

monday
Автор

can you please tell how to make command module idempotent

sujithreddy