If somwhow you cant see the directory of ansible in /etc/ it may be because the directory was not created automatically during the installation. You can manually create the necessary configuration directory and files. sudo mkdir /etc/ansible and after that you can also create a directory of hosts sudo vim /etc/ansible/hosts rest of the steps are same
Instead of making a new group to update any particular server we can use this command as well • ansible ansibleserver-1 -a "sudo apt-get update -y" (The above command is used to get the stats of 1 server) here -a means adhoc & ansibleserver-1 means the name what we have given in /etc/ansible/hosts (which is also known as Inventory file)
Try doing with superuser permissions sudo vim /etc/ansible/hosts (If you are using Vim Editor) sudo nano /etc/ansible/hosts (If you are using Nano Editor) After you write the code in hosts file, you would need click esc & :wq {to save} Hope this helps. If still you are facing the error, reply in this chat i will try to help you
@@brokenskullgaming9 hi i have facing the error, i have tried multiple times ..i know the command and also i have use vim editor sudo vim /etc/ansible/host" (If you are using Vim Editor) after that also used esc & :wq {to save} but it doesn't work..error showing -/etc/ansible/hosts" E212: Can't open file for writing Press ENTER or type command to continues
@@TrainWithShubham setting easy hai, along with configuration with Prometheus and how to call the metrics and to add in the grafana iska please make video asap
Al-Adab Al-Mufrad 963 'Utayy ibn Damura said, "I saw with Ubay a man who was attributing himself (in lineage) with an attribution of Jahiliyyah, so Ubay told him to bite his father's male organ and did not speak figuratively (i.e. was explicit). So his companions looked at him. He said, 'It appears that you disapprove of it.' Then he said, 'I will never show apprehension to anyone with regards to this. Verily, I heard the Prophet, may Allah bless him and grant him peace, say, "Whomever attributes himself (in lineage) with an attribution of Jahiliyyah, then tell him to bite his father's male organ and do not speak figuratively (i.e. be explicit)."
Al-Adab Al-Mufrad 963 'Utayy ibn Damura said, "I saw with Ubay a man who was attributing himself (in lineage) with an attribution of Jahiliyyah, so Ubay told him to bite his father's male organ and did not speak figuratively (i.e. was explicit). So his companions looked at him. He said, 'It appears that you disapprove of it.' Then he said, 'I will never show apprehension to anyone with regards to this. Verily, I heard the Prophet, may Allah bless him and grant him peace, say, "Whomever attributes himself (in lineage) with an attribution of Jahiliyyah, then tell him to bite his father's male organ and do not speak figuratively (i.e. be explicit)."
@@aftabshaikh2155 Al-Adab Al-Mufrad 1183 It is related that Abu Hurayra said, "I never sae al-Hasan without my eyes overflowing with tears. That is because the Prophet, may Allah bless him and grant him peace, went out one day and he found me in the mosque. He took my hand and I went along with him. He did not speak to me until we reached the market of Banu Qaynuqa'. He walked around it and looked. Then he left and I left with him until we reached the mosque. He sat down and wrapped himself in his garment. Then he said, 'Where is the little one? Call the little one to me.' Hasan came running and jumped into his lap. Then he put his hand in his beard. Then the Prophet, may Allah bless him and grant him peace, opened his mouth and put his mouth in his mouth. Then he said, O Allah, I love him, so love him and the one who loves him!'"
I did not connect from local system but directly launched instance of ansible master from AWS. Saw your other video of Ansible Tutorial where you did directly from instance. All went well but when playbooks are made and I am giving the command "ansible-playbook date_play.yml /home/ubuntu/ansible/hosts --private-key=~/.ssh/ansible-key" it is not running can you help me in this. Also, here we are in Playbooks folder whereas our Inventory file is in another folder then how is playbook communicating with inventory?
i was stuck at this one thing where you copy a file from local to ec2 instance and i was stuck at it for 23 days and this guy is just amazing. one question though, is there any way to copy an entire folder from local to ec2 instance?
Sir how to join these classes ? Jese mene aapki website pe dekhaa h ki jenkins,tws comp,ansible,chat gpt and docker ka lecture aap le chuke ho. So i have to purchase any course for this or you share this claases for free ?
Sir I have completed aws services classes and now started devops tools so can I start building projects simultaneously and is it right time orelse I have to complete the full course ? Pls guide me on this
"/etc/ansible/hosts" E212: Can't open file for writing Press ENTER or type command to continue sir i am facing issue can you please help me @trainwithshubham
@@TrainWithShubham bro setup module is used to configure facts gathering conditionally in ansible play book…..not all play book have requirements to gather facts straightaway….use when clause with setup module to conditionally gather facts…./you can check documents
"/etc/ansible/hosts" E212: Can't open file for writing Press ENTER or type command to continue sir i am facing issue can you please help me @trainwithshubham
Starting ka animation bohot hi sahi tha sir
Bhai aap ne mere knowledge me jaan daal di hai ❤❤❤
web pge playbook madhe must advitasing zali free madhey🤗 and so u r great work !
😊 thanks
Great Work Bro Really Appreciate - "Himanshu From Pune"
Hardworking Shubham
Great, man! It's amazing to study Ansible here. This is the best platform to understand it thoroughly and to see and learn its practical applications.
awesome 🤩 thanks
Great bhaiya 🎉🎉🎉
and now We are waiting for such a project in which you will do multiple micro services with Kubadam.
definitely
Shubham bhaiya best for devops ❤
thanks dost
Session was awesome 👍👍. please make video on k8s in detail.
Thanks for such a great content.
Will do soon
very simple languge and covering all imp topics thank you
:video started from
7:26
If somwhow you cant see the directory of ansible in /etc/ it may be because the directory was not created automatically during the installation. You can manually create the necessary configuration directory and files.
sudo mkdir /etc/ansible
and after that you can also create a directory of hosts
sudo vim /etc/ansible/hosts
rest of the steps are same
still can't see directory of ansible
Sir your videos and lecture is awesome I m getting the things very clearly Thank you so much you are helping us to build our career🙏🏻
You Explain very easy to understand
thank you
Instead of making a new group to update any particular server we can use this command as well
• ansible ansibleserver-1 -a "sudo apt-get update -y"
(The above command is used to get the stats of 1 server)
here -a means adhoc & ansibleserver-1 means the name what we have given in /etc/ansible/hosts (which is also known as Inventory file)
Time stamp 38:46 , mere me error aa raha h, " /etc/ansible/hosts" E212: can't open file for writing.
While saving using :wq!
Please resolve it.
Try doing with superuser permissions
sudo vim /etc/ansible/hosts (If you are using Vim Editor)
sudo nano /etc/ansible/hosts (If you are using Nano Editor)
After you write the code in hosts file, you would need click esc & :wq {to save}
Hope this helps. If still you are facing the error, reply in this chat i will try to help you
@@brokenskullgaming9 hi i have facing the error, i have tried multiple times ..i know the command and also i have use vim editor sudo vim /etc/ansible/host" (If you are using Vim Editor) after that also used esc & :wq {to save} but it doesn't work..error showing -/etc/ansible/hosts" E212: Can't open file for writing
Press ENTER or type command to continues
aap maximum konsa terminal use karte ho ?
Thank you sir very good explanation ❤
Thanks for your efforts bhaiya❤️
Shubham Bhai please grafana or Prometheus wala video banaiye I'm waiting for a long time
very soon
@@TrainWithShubham setting easy hai, along with configuration with Prometheus and how to call the metrics and to add in the grafana iska please make video asap
Bhaiya pls cover all topic today's my interview tomorrow
Sir, aws Ubuntu server se project ko push kese karenge GitHub par
Thank you Shubh Sir
Al-Adab Al-Mufrad 963
'Utayy ibn Damura said, "I saw with Ubay a man who was attributing himself (in lineage) with an attribution of Jahiliyyah, so Ubay told him to bite his father's male organ and did not speak figuratively (i.e. was explicit). So his companions looked at him. He said, 'It appears that you disapprove of it.' Then he said, 'I will never show apprehension to anyone with regards to this. Verily, I heard the Prophet, may Allah bless him and grant him peace, say, "Whomever attributes himself (in lineage) with an attribution of Jahiliyyah, then tell him to bite his father's male organ and do not speak figuratively (i.e. be explicit)."
Thanks. .very nice session
Always welcome
Cover ansible in more detail with more concepts and projects
I'll try my best
@@TrainWithShubhamagar try hi karna hai toh log khud se try nai kar lenge….
@@rajansingh6242 koshish karne waalo ki kabhi haar nahi hoti
learn a lot with lots of fun .......................
Yesh ..
I am waiting for these .
Bhaiya ❣❣
awesome
Boooooomm
thanks a lot dost
Love from pune❤
Jabardast bhiyya
no Rahul harmed
Sirji, how do we disable fetching of ansible facts for a host??
gather_facts: False
se ho jana chaiye
what do you think?
Please include the use of anisble tower and ansible galaxy
Awesome Video !
Sabkuch free UA-cam par hi rakhoge to paid course sirf mock interview, resume building keliye lee kya?
Al-Adab Al-Mufrad 963
'Utayy ibn Damura said, "I saw with Ubay a man who was attributing himself (in lineage) with an attribution of Jahiliyyah, so Ubay told him to bite his father's male organ and did not speak figuratively (i.e. was explicit). So his companions looked at him. He said, 'It appears that you disapprove of it.' Then he said, 'I will never show apprehension to anyone with regards to this. Verily, I heard the Prophet, may Allah bless him and grant him peace, say, "Whomever attributes himself (in lineage) with an attribution of Jahiliyyah, then tell him to bite his father's male organ and do not speak figuratively (i.e. be explicit)."
@@thegreatestdemon1288 😂😂 why you're telling me this
@@aftabshaikh2155 Al-Adab Al-Mufrad 1183
It is related that Abu Hurayra said, "I never sae al-Hasan without my eyes overflowing with tears. That is because the Prophet, may Allah bless him and grant him peace, went out one day and he found me in the mosque. He took my hand and I went along with him. He did not speak to me until we reached the market of Banu Qaynuqa'. He walked around it and looked. Then he left and I left with him until we reached the mosque. He sat down and wrapped himself in his garment. Then he said, 'Where is the little one? Call the little one to me.' Hasan came running and jumped into his lap. Then he put his hand in his beard. Then the Prophet, may Allah bless him and grant him peace, opened his mouth and put his mouth in his mouth. Then he said, O Allah, I love him, so love him and the one who loves him!'"
@@aftabshaikh2155 I'm showin' up reality of your religion 😂😂😂
bhaiya waiting
Amazing bhai 🎉🎉❤❤
Amazing 🎉
Thanks 😄
Boooommmm🎉
Yes sir
Ansibel master
💥 Boom
I did not connect from local system but directly launched instance of ansible master from AWS. Saw your other video of Ansible Tutorial where you did directly from instance. All went well but when playbooks are made and I am giving the command "ansible-playbook date_play.yml /home/ubuntu/ansible/hosts --private-key=~/.ssh/ansible-key" it is not running can you help me in this. Also, here we are in Playbooks folder whereas our Inventory file is in another folder then how is playbook communicating with inventory?
Its resolved I forgot to put -i in command. :)
:)
Yess
When I opened configuration file it looks very different not able to see where to add a target ip
Could someone help
Jhakaasssss
Is this a complete Ansible certification course ?
i was stuck at this one thing where you copy a file from local to ec2 instance and i was stuck at it for 23 days and this guy is just amazing. one question though, is there any way to copy an entire folder from local to ec2 instance?
you can use Winscp tool for that.!! hope that helps.
is this much ansible content sufficient for cracking the interview shubham?
good for beginners
Bro include ansible tower and ansible patches
Ok coming soon
aise padhana vala haitho padneme kya dikkath❤❤
Hello @shubham may i know how to place any file in all servers?
you can use the copy module in the playbook or command
@@TrainWithShubham thanks
Sir how to join these classes ?
Jese mene aapki website pe dekhaa h ki jenkins,tws comp,ansible,chat gpt and docker ka lecture aap le chuke ho.
So i have to purchase any course for this or you share this claases for free ?
server_2 | UNREACHABLE! => {
"changed": false,
"msg": "Failed to connect to the host via ssh: Host key verification failed.",
"unreachable": true
}
server-3 | UNREACHABLE! => {
"changed": false,
"msg": "Failed to connect to the host via ssh: Host key verification failed.",
"unreachable": true
}
bhaiya this err occurs
directory '/etc/ansible' does not exist
Masster
👌👌👌👌👌👌
Bhai host file save nhi ho rahi h
Sir aap bolte ho ki live recorded session upload nahi karoge...to kya isake alava bhi kuch session hai kay?
bilkul honge
Hi can u please tell me the concept in English language...
english videos will be coming soon
Sir I have completed aws services classes and now started devops tools so can I start building projects simultaneously and is it right time orelse I have to complete the full course ? Pls guide me on this
And can we apply for solution architect associate job and what are the skills we need?
Description m h
Boom
Bhai prinit ne to apki laga diye thi 🤣🤣🤣🤣🤣
who?
Bhaiya aapke website ka job portal kaha gya?
skillUp club pe hai
❤
❤
Shubham bhaiya nice teaching
Kuch hinduo ne dhoka diya par ham apke. Sath hai
Spc
Unable to download notes.
Hello bhai
Hello sir
Hello
Sanga sir
Python
Secure website
Bas karo bhai pyar hi krwake manoge kya❤❤
bilkul
boom
New
Bata do sir
Free -h
Me sahi bolu to bhai tumhe khud ansible pata nahi tum kya hi padhaoge 🙂🙂
okay :D
Me
Open ai
permission denied
Ssh
Config
Abe bhai shi se padh le phle khud
Putty
"/etc/ansible/hosts" E212: Can't open file for writing
Press ENTER or type command to continue sir i am facing issue can you please help me @trainwithshubham
Sirji how do you disable gathering facts conditionally in ansible play book??
kya
@@TrainWithShubham thoda setup module ke baare mein jaankari le lo bhai….adhura knowledge se padhana shuru kar dete ho….kaise kaam chalega
@@rajansingh6242 matlab?
@@TrainWithShubham bro setup module is used to configure facts gathering conditionally in ansible play book…..not all play book have requirements to gather facts straightaway….use when clause with setup module to conditionally gather facts…./you can check documents
@@rajansingh6242 thank you dost
"/etc/ansible/hosts" E212: Can't open file for writing
Press ENTER or type command to continue sir i am facing issue can you please help me @trainwithshubham
please help me on this shubham@trainwithshubham