Тёмный

Simple DevOps Project-2 | CI/CD pipeline using GIT, Jenkins & Ansible 

Valaxy Technologies
Подписаться 107 тыс.
Просмотров 277 тыс.
50% 1

Опубликовано:

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 536   
@krishnajunk
@krishnajunk 5 лет назад
Perfect, With your playlist I am feeling like I executed a DevOps project. Thanks a lot
@ValaxyTechnologies
@ValaxyTechnologies 5 лет назад
You are welcome, How did you discover our playlist? Thanks
@roshansagar4944
@roshansagar4944 3 года назад
could you please send me your contact number to my mail i have doubt in these video
@shaikshafi9025
@shaikshafi9025 3 года назад
@@ValaxyTechnologies h the h5
@MohdDanish-kv9sw
@MohdDanish-kv9sw Год назад
@@ValaxyTechnologies ​ @Valaxy Technologies i want to reach my website without giving the full path to tomcat server , in my case, i type ip:8080/webapp then i reach my website which i have deployed on tomcat , but i want to access my website just by typing the ip , how do i do it ??? please do reply its urgent i have to implement it in my company project
@polimerimounika1319
@polimerimounika1319 5 лет назад
No words to express your effort towards this 26 videos. After watching these 26 videos one can feel themselves as a DevOps engineer, thank you so much valaxy technologies and each and every trainer.
@dhivyabharathi2025
@dhivyabharathi2025 3 года назад
from where you got the 26 videos,i cant find in playlist
@JITENDRAPAL21
@JITENDRAPAL21 3 года назад
@@dhivyabharathi2025 ya right im also not able to find. u got dhivya?
@noopurmor8218
@noopurmor8218 Год назад
😢😢😮😮😮😢😢😢🎉 😢🎉🎉😂6,16,17,18,19,20 😢😅jù
@rohitsakpal7219
@rohitsakpal7219 5 лет назад
Hi Sir, Great video Appreciate your efforts. Last few months I was searching for CI/CD Deployment but haven't understood a concept When I went through all your CI/CD videos then I get an idea of how real-time work happen. Very satisfied. Thank You Again !!
@vallabhanenivenkatanarayan6744
Sir Excellent video I never seen before, very nice explanation. I'm requesting you that, please clear my below doubts. 1)In real time who will maintain ansible server. 2)is the job will built if mobaxterm get inactive. 3) please make a video on where the tests should be done in real time and what's the role of devops engineer after post build if test cases where failed and how to automate then.
@ValaxyTechnologies
@ValaxyTechnologies 6 лет назад
Hi, Thanks for your comments. Please find my inline comments for your questions. 1)In real time who will maintain ansible server. It’s purely depends on your project work culture. Mostly DevOps/Cloud Infra team manages it. 2) is the job will built if mobaxterm get inactive. Mobaxterm is a tool which is used to connect remote servers. all your jobs runs on remote servers ( Jenkins). So your job runs even though it Mobaxterm is inactive 3) please make a video on where the tests should be done in real time and what's the role of devops engineer after post build if test cases We are planning to make these videos. Please subscribe and follow us. You can find it soon.
@nileshdevrale8297
@nileshdevrale8297 4 года назад
Team your all videos are very really nice to understand easily to anyone and all are followed very systematically. I have one question here i.e as per the pipeline build generates in Jenkins home directory, but in this video I did not understand how .war file got automatically transferred on Ansible server. I think that part is missing here . Please help us to clear that part.
@ChickChiquita523
@ChickChiquita523 4 года назад
I am happy to share ..i made this setup on my own AWS by watching your vedios..Thanks shankar..for sharing your knowledge.
@ValaxyTechnologies
@ValaxyTechnologies 4 года назад
It's my pleasure. Now you can follow us on Instagram as well instagram.com/valaxytechnologies/
@raghurammilkuri
@raghurammilkuri 6 лет назад
Thanks good explanation, Please setup one project using Developers-->git------>s3(AWS S3 source)-->code Pilpeline (AWS)-->CodeDeploy (AWS)--->Target server (AWS Instance) Please setup a sample maven project setup Thanks in Advance...! Waiting for your reply
@derekmab7734
@derekmab7734 5 лет назад
Thanks so much and I really enjoy your lectures !! however you said it is located on /opt/playbooks/webapp/targets/webapp.war on ansible server to copy/deploy it to the tomcat server. we have not seen how this war file got to this location from jenkins. I know in the previous video this war file ended up in tomcat using jenkins deploy to container. I am quite confused.
@ValaxyTechnologies
@ValaxyTechnologies 5 лет назад
workspace directory path in Jenkins is /var/lib/jenkins/workspace/ under this. it creates a directory with your jobname//targets/ in this case Jobname: Projec-2 directory_specified_in_pom.xml = webapp war file name=webapp.war when we search for war file I check under workspace/jobname directory. here it found war file webapp/targets/webapp.war. same copied in/opt/playbooks directory on ansible server
@sandy4a8
@sandy4a8 5 лет назад
@@ValaxyTechnologies Thanks for the wonderful lecture. It's really so great of you to share your knowledge. I've query over here. As you said in this comment I tired copying the war file from jenkins server to ansible server using the below command- scp webapp.war ansadmin@172.31.95.2xx:/opt/playbooks/webapp/target It is prompting for password of asnadmin. After giving the correct password, it is showing permission denied message as below- scp: /opt/playbooks/webapp/target/webapp.war: Permission denied Requesting you to help to sort out this. Thanks in advance!
@sandy4a8
@sandy4a8 5 лет назад
Also, apart from this method i.e, copying war file from jenkins to ansible server, it would be great if you describe other way that how to add .war file to directory in ansible sever.
@kajalrai6681
@kajalrai6681 5 лет назад
Did you get the answer to your question or else do you have any solution for this? Please reply
@poornimacr7736
@poornimacr7736 5 лет назад
@@sandy4a8 Hi.. did you try adding ansadmin user in tomcat server as "useradd & passwd"? Hopefully, then it should resolve.
@kanikagola9613
@kanikagola9613 Год назад
I had a doubt, in my ansible server I am not able to find any playbooks folder under /opt or webapp folder, so how did you do that?
@pavanchiku3572
@pavanchiku3572 2 года назад
Hi sir you said it is located on /opt/playbooks/webapp/targets/webapp.war on ansible server to copy/deploy it to the tomcat server. we have not seen how this war file got to this location from jenkins. I know in the previous video this war file ended up in tomcat using jenkins deploy to container. I am quite confused
@thyagarajang2542
@thyagarajang2542 4 года назад
Excellent Video. I was confused watching lot of videos on how ci/cd pipeline works. Good job sir. I am having a clear idea now.
@jamesdavidmurphy1
@jamesdavidmurphy1 5 лет назад
Great video, thanks. Question: I dont understand how you can transfer the war file from Jenkins server to Ainsible server just using the remote directory (destination) of //opt/playbooks......if they are both on separate servers then wouldnt you need to provide a URL? Same question for when you execute the yaml file from Jenkins server
@kajalrai6681
@kajalrai6681 5 лет назад
Did you get the answer to your question or else do you have any solution for this? Please reply
@jamesdavidmurphy1
@jamesdavidmurphy1 5 лет назад
@@kajalrai6681 unfortunately I didnt recieve a response as yet. Only thing I can guess is that they are on different servers, but on the same network...so they can use relative path
@kajalrai6681
@kajalrai6681 5 лет назад
@@jamesdavidmurphy1 thanks for ur response.
@devopsaspire2225
@devopsaspire2225 4 года назад
Main goal is to get war on tomcat server to Ansible server, Ansible then can copy to the client system. Once we actually check post build actions , we used publish over ssh and there is only one target system.
@muralimohan8551
@muralimohan8551 3 года назад
Very simple and standard explanation. End to end process. Thank you so much
@SK-xi5ht
@SK-xi5ht 6 лет назад
Hello Sir, I liked your video. In real time we have multiple environment and we need to deploy the code in different manner. So do we need multiple playbooks for each and every environment so that it accomplish the multiple task. Is there any other way so that we can write playbooks inside jenkins job rather than writing on to Ansible servers?
@Sri-mx7zj
@Sri-mx7zj 5 лет назад
Ansible does the code deploy on multiple servers by running the playbook from ansible master node
@ameyathakur7475
@ameyathakur7475 5 лет назад
You can specify the Ansible Roles for your environments.
@devopsaspire2225
@devopsaspire2225 4 года назад
Liked the way video and real-time project is made. May i know why Ansible is more preferred over Jenkins for deployment ? Can you explain a more complex example in-order to know the edge of Ansible over Jenkins? Can you likewise help many of us with exceptions and questions while we making the project or general errors that we might face? Thanks.
@ValaxyTechnologies
@ValaxyTechnologies 4 года назад
Thanks for your replies in other comments, We encourage community participation immensely as it builds skills for everyone. Continue to do so, We will help you along/ Will consider your queries in the following streams.
@devopsaspire2225
@devopsaspire2225 4 года назад
@@ValaxyTechnologies Thanks :) will do
@raghunath6279
@raghunath6279 2 года назад
bro at 29:15time, as you said if we added one more playbook in the same test, the build will execute the previous playbook and preset playbook? or it will execute only the new playbook only?
@healthybrain9072
@healthybrain9072 3 года назад
Hello Shankar, Thanks for sharing your knowledge. Your videos have been very helpful. Pls I have one doubt. If you want to use ansible to deploy over many servers say like 100, Are we to set the password less authentication manually on each servers or there is another faster way. Your response would be appreciated
@chaaricreatives
@chaaricreatives 2 года назад
Such a fabulous explanation Brother. Thanks for coming to RU-vid. God bless you. I m from Hyderabad KPHB, learned many many things from you.
@aniruddhsingh1725
@aniruddhsingh1725 2 года назад
Thanks a lot for creating this playlist. I was so lost and then your videos came up as a saviour.
@SNVPfamily
@SNVPfamily 5 лет назад
One question... .war file exist in /var/lib/jenkins folder under webapp.. how you copied that under /opt folder??? Have you manually copied or it was created by any job???pls advice
@ValaxyTechnologies
@ValaxyTechnologies 5 лет назад
Nope. its copied through jenkins job. Thanks for your comment. Please join in below Facebook group to get in touch with you. facebook.com/groups/valaxy.aws.devops.gang/
@ankitrawat721
@ankitrawat721 5 лет назад
Hello, I am following Valaxy Technologies Videos, Video's demonstration is very highly real-world scenario-based, Can you also make video over Using git-->Jenkins-->Ansible-->Elasticbeanstalk Instances or AWS ECS (Docker-containers).
@ValaxyTechnologies
@ValaxyTechnologies 5 лет назад
@ankit rawat - How does Ansible and ElasticBeanstalk work together, can you explain your use case.
@hrishikeshkale6365
@hrishikeshkale6365 2 года назад
Thank you so much . I watched the video recently and it was really helpful. Just a heads up to those who are going to watch this in future. PUBLISH OVER SSH plugin has been suspended by jenkins in JAN 2022. So we need to to do it with the help of "scppublisher" plugin . Hope this might help.
@ValaxyTechnologies
@ValaxyTechnologies 2 года назад
Thanks you Hrishikesh, and thanks for your input to community about the ssh-plugin. it was suspended sometime back. Now Jenkins reenabled this plugin. So no deviation in this process.
@derekmab7734
@derekmab7734 5 лет назад
Thanks very much for the clear explanation. One thing I was not sure of is where do we get that webapp.war file from? from some jenkins location or was it created in tomcat server when you deployed it using jenkins then you pulled it from tomcat server?
@ValaxyTechnologies
@ValaxyTechnologies 5 лет назад
Hi, war file is gentered by Jenkins. that is the purpose of build tool. Jenkins pull code from Git, build that code as war file and sent id to ansible. Ansible is going to publish on Tomcat Server.
@sandeepkumar-dw6xq
@sandeepkumar-dw6xq 5 лет назад
Hi Abdelkader,i am also stuck at this,jenkins is not building webapp.war file on to the ansible server ,may i know if your problem is solved if so can you advise me too...
@harikiran4341
@harikiran4341 5 лет назад
@@sandeepkumar-dw6xq use Maven
@sandeepkumar-dw6xq
@sandeepkumar-dw6xq 5 лет назад
@@harikiran4341 yeah i did that after the next trial it was successful :)
@vadirajacharbg2261
@vadirajacharbg2261 4 года назад
One of the most excellent videos which is best for beginners
@hopeetchie284
@hopeetchie284 4 года назад
This is great. However i am getting an auth failure when configuring the publish over ssh with my ansible host credentials. please i need help to move past this step.
@anilb6080
@anilb6080 2 года назад
Perfect sir easy and simple configuration method.
@ValaxyTechnologies
@ValaxyTechnologies 2 года назад
Keep watching!
@gnaneethi81
@gnaneethi81 4 года назад
I have done this and got success this project . thank you. ansbile part i got error but verified another your vidio to setup ansible on redhat and overall it got success
@ramsai09
@ramsai09 6 лет назад
Thanks a lot for such a wonderful video..I have one doubt. u said that we can deploy any number of servers by copying the IP address of nodes, for suppose if i want to deploy on 10 servers in that if any of the servers fails, fr suppose 6th server fails.
@ValaxyTechnologies
@ValaxyTechnologies 6 лет назад
Hope you understood that deployment can be done through Ansible. I need some more information reg your question to understand answer. Are you taking about server failure (infrastructure)? or application failure? in this videos I am taking about applications. in case of application failure, rerun the playbook to get it deployed on failure node. You may schedule a cronjob to run it in regularly. If you are talking about server then it come to infrastructure problem. Autoscaling or AMI can be used to re-create server quickly incase it is on AWS.
@ajitkumarsahu1476
@ajitkumarsahu1476 4 года назад
Perfect after watching both the video ansible installation and this video no issue at all project running successfully thanks sir great job
@YinYan_24
@YinYan_24 5 лет назад
Thank you so much for these videos..I have been learning the DevOps methods from your videos and you are an awesome tutor
@sarureddyreddy848
@sarureddyreddy848 3 года назад
is real time environment and process also same right!
@ValaxyTechnologies
@ValaxyTechnologies 3 года назад
yes
@austinregular9276
@austinregular9276 6 лет назад
Dear Mentor -- this is an awesome demonstration. this has helped me a lot to understand the continuous deployment using jenkins and ansible. I have liked and subbed because of this video. real quality stuff. Waiting for the next session which covers the deployment of docker container from jenkins. any planned date like when you are going to post that video.
@austinregular9276
@austinregular9276 6 лет назад
Dear mentor-- any planned date for project type 3?
@ksivasankar9188
@ksivasankar9188 5 лет назад
Hi sir, you mentioned in source path webapp/target/*.war but war file copy from jenkins means it will be in workspace?
@ahmedsaif4541
@ahmedsaif4541 2 года назад
Hi my friend, thank you for your efforts, my question is how did you get/moved webapp.war to ansible server from the git repo while ansible server just created and configured in 14:15 ?! while jenkins&ansibile ssh authentication config was created in 23:40?
@venkatabobbba7921
@venkatabobbba7921 Год назад
do we need separate vms for git,maven,jenkins, webserver and ansible?
@yogireddy8129
@yogireddy8129 4 года назад
everything is okay regarding clear explanation ..... i have a query that how to rollback to github or (developer) if the code is not correct ?? could you explain please??
@devopsaspire2225
@devopsaspire2225 4 года назад
We can revert back to the commit where the code was working. Also we need to make sure the head is at the right place. Otherwise we might get a detached head. This applies for latest commit. But if you want to go back to certain commit, we do cherry-picking or otherwise request developer to undo changes and build from their local(which can be done if there are known and small changes).
@ahmedsaif4541
@ahmedsaif4541 2 года назад
In 29:10 , you said we can add another task on playbook to install tomcat server, how can i install it while the aws instance is not available or do i need to create the tomcat instance manually then install the tomcat package ?
@SathishKumar-um1ti
@SathishKumar-um1ti 5 лет назад
Nice explanation. I am a bit confused and got an error in giving the source files path. Error: "SSH: Transferred 0 file(s)" Which path need to set in the source files? please reply.
@ValaxyTechnologies
@ValaxyTechnologies 5 лет назад
Hi, Could you please give more light on your error. Thanks for your comment. Please join in below Facebook group to get in touch with you. facebook.com/groups/valaxy.aws.devops.gang/
@SathishKumar-um1ti
@SathishKumar-um1ti 5 лет назад
@@ValaxyTechnologies ​ Valaxy Technologies I have given the source path /var/lib/jenkins/workspace/ansible/* and in remote dir /home/ansible/nginx/ansible/ (ansible server). The error am getting during the build SSH: Connecting from host SSH: Connecting with configuration [Ansible] ... SSH: Disconnecting configuration [Ansible] ... SSH: Transferred 0 file(s) Build step 'Send files or execute commands over SSH' changed build result to SUCCESS. It doesn't transfer the files from Jenkins server to ansible. Appreciate your help.
@arpangupta3691
@arpangupta3691 4 года назад
@@SathishKumar-um1ti did u get the solution.I'm stuck with the same problem
@ramsai09
@ramsai09 5 лет назад
Excellent video... where is the destination folder is present in tomcat server? /opt/apache-tomcat-8.5.32/webapps?? but u wrote as //opt//playbook in remote directory in post build actions.
@ValaxyTechnologies
@ValaxyTechnologies 5 лет назад
Yes, becuase I am copying webapps file on to Ansible server /opt/playbook location. from there it pushed onto Tomcat server.
@ramsai09
@ramsai09 5 лет назад
@@ValaxyTechnologies yes I Understood. but iam asking you to show the path of /opt/apache-tomcat-8.5.32/webapps
@venki090790
@venki090790 5 лет назад
@@ramsai09 That path will be mentioned in the playbook copy.yml
@k.r.mohanreddyk.r2350
@k.r.mohanreddyk.r2350 6 лет назад
U can use first project tomcat server or different? like host michine
@lakshayarora3935
@lakshayarora3935 4 года назад
Great video. However, I have a query. I am building a maven job. However, the job gets stuck in between and finally fails with the error: JVM terminated unexpectedly with exit code 137. For this I tried to change min and max memory configurations in Jenkins settings (-Xmx512M -XX:MaxPermSize=512M). Still, the build takes a lot of time and finally fails. Could you please help to resolve this memory issue(or may be other)?? Also, tuned garbage collection. Do I need to create new instance with enhanced memory configuration?? Appreciate your response
@DigvijayKotekar
@DigvijayKotekar 5 лет назад
Valaxy Technologies, Shankar Sir...Thank you very much This project, appreciate your effort. It helped me a lot to understand DevOps.
@aravindpoojari7223
@aravindpoojari7223 4 года назад
Hello Shankar, I would like to have job triggered when a new commit available but not on regular intervals using poll ssm. Is there a way?
@ValaxyTechnologies
@ValaxyTechnologies 4 года назад
#yes
@aravindpoojari7223
@aravindpoojari7223 4 года назад
@@ValaxyTechnologies can you point me to that?
@akshaynamdev2698
@akshaynamdev2698 5 лет назад
Hi, thanks that was great explanation, 1 question I have if we enable poll SCM, then if any changes will happen Jenkins will automatically start building the job according to Crontab but How to know which git repo triggered the jenkins job ? There will be multiple repos and whenever commits has happened these repo Jenkins job will trigger
@ValaxyTechnologies
@ValaxyTechnologies 5 лет назад
I didnt get your questions. But let me try to answer it. While creating your job you should give github URL. if something change in that git URL poolscm triggers job.
@archananarayana6123
@archananarayana6123 5 лет назад
To know more please join in our facebook group facebook.com/groups/valaxy.aws.devops.gang/
@deepaksinghrajput5001
@deepaksinghrajput5001 3 года назад
sir there no pom.xml file in your github due to which i am unable to build using jenkins. Can u help as i found this playlist is very useful for devops .
@pawaryash007
@pawaryash007 4 года назад
Interesting video. One question Lets say I have to get artifacts from artifactory and then deploy onto tomcat, How we can do it?
@OddBallTrails
@OddBallTrails 5 лет назад
Shankar sir.. please teach me. I am going through all of your lectures and finding you as the best mentor for myself. You are incredible.
@ValaxyTechnologies
@ValaxyTechnologies 5 лет назад
You can reach us through here - ru-vid.comabout
@nbhaskarreddy7071
@nbhaskarreddy7071 4 года назад
Hi sir, i have one simple doubt how you moved warfile into ansible server, actually war file is in jenkins and tomcat server but in video you are showing in ansible server also src:/opt/playbooks/webapp/target/webapp.war, can you please clear my doubt.
@sheikhabubaker5552
@sheikhabubaker5552 Год назад
I have the same doubt as I am implementing this project, I'm stuck if you got the resolution can you please tell me, how did he moved war file into ansible server ?
@banjanareddy
@banjanareddy 2 года назад
Good explanation... one doubt "publish over ssh" plugin missing in jenkins. can you help .
@kasulasrinivas715
@kasulasrinivas715 2 года назад
Install manually...from manage jenkins- manage plugins-advanced- upload hpi file
@saradhik5793
@saradhik5793 5 лет назад
Can we modify playbooks which are already created or we have to create new playbooks always?
@ValaxyTechnologies
@ValaxyTechnologies 5 лет назад
Infrastructure (is)As Code - They are version controlled, create new feature branches, test and release.
@tabrezahmad8955
@tabrezahmad8955 5 лет назад
hi i like ur videos a lot but i have got a question in this video what if there are multiple target machines and its really hectic to create users and add ssh key to all the target machines.
@mohanagrawal216
@mohanagrawal216 5 лет назад
After copying war to Ansible, how does Ansible deploy it? do we need another Jenkins job for that?
@yamunauppicherla5172
@yamunauppicherla5172 5 лет назад
Crystal clear explanation thank u so much .can u please tell how to use ansible for live deployment
@praveeng7734
@praveeng7734 4 года назад
sir can we use "scp" or "nscp" command for copeing that .war file from jenkins to ansibule instead of using ssh over plugin is it pasible by using shell
@ValaxyTechnologies
@ValaxyTechnologies 4 года назад
Hi Praveen, Yes you can do that. Now you can follow us on Instagram as well instagram.com/valaxytechnologies/
@shyamsundardharmarapu6181
@shyamsundardharmarapu6181 2 года назад
Your videos are simply amazing andi.. Thanks for the knowledge..
@nagarajunagari2266
@nagarajunagari2266 6 лет назад
If you deploy Multiple .war files into /wabapp folder in tomcat server through JENKINS,which war file can tomacat server serves ?. It is one of the useul pipeline video i have seen.Thank you so much sir.
@ValaxyTechnologies
@ValaxyTechnologies 6 лет назад
You can deploy multiple war files. To access you should give name of war file name in the browser like below /
@toushya
@toushya 6 лет назад
Hi Shankar, thanks for the wonderful video. Can you please make a similar devops video using chef as configuration mgmt tool? (I ask because AWS OpsWorks uses chef)
@ValaxyTechnologies
@ValaxyTechnologies 6 лет назад
Not in current scheme of things(including AWS OpsWorks); Maybe in future.
@abhijeetbhalke9122
@abhijeetbhalke9122 5 лет назад
Hi sir, In last video means sample devops project 1 , you didn't use ansible for deplyoing . In this video you used ansible . My question what will be the advantage of using ansible in deploying . could you please explain this ? how it makes different
@ValaxyTechnologies
@ValaxyTechnologies 5 лет назад
watch further videos you will understand
@ashok.9761
@ashok.9761 4 года назад
i am facing one issue on ansible playbook source and destination in playbook sir
@chetanns2324
@chetanns2324 4 года назад
Hi Shankar, Not able to transfer the .war file to ansible server ,it skips transferring the file to ansible and start running the copy.yml file [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.869 s [INFO] Finished at: 2019-12-13T11:39:00+05:30 [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [JENKINS] Archiving /var/lib/jenkins/workspace/Godzilla_Maven_Sample/pom.xml to com.flexera/sample/0.0.1-SNAPSHOT/sample-0.0.1-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/workspace/Godzilla_Maven_Sample/target/sample.war to com.flexera/sample/0.0.1-SNAPSHOT/sample-0.0.1-SNAPSHOT.war channel stopped SSH: Connecting from host [localhost.localdomain] SSH: Connecting with configuration [ansible_server] ... SSH: EXEC: STDOUT/STDERR from command [ansible-playbook /opt/Playbooks/copy.yml] ... PLAY [all_clienthosts] ********************************************************* TASK [Gathering Facts] ********************************************************* ok: [3.85.159.9] TASK [copy war into tomcat server] ********************************************* An exception occurred during task execution. To see the full traceback, use -vvv. The error was: If you are using a module and expect the file to exist on the remote, see the remote_src option fatal: [3.85.159.9]: FAILED! => {"changed": false, "msg": "Could not find or access '/opt/Playbooks/webapp/target/sample.war' on the Ansible Controller. If you are using a module and expect the file to exist on the remote, see the remote_src option"} PLAY RECAP ********************************************************************* 3.85.159.9 : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 Kindly can you help me ,if am missing anything here
@madhan2712
@madhan2712 6 лет назад
Hello sir I am very much interested watching simple Devops-project,when you are going to upload remaining videos for complete of this simple Devops project..,plz share your inputs...
@ValaxyTechnologies
@ValaxyTechnologies 6 лет назад
The building blocks for the next project is already on the way - Docker, Sonar etc.,. Check them out.
@aswiniravella8037
@aswiniravella8037 4 года назад
hello sir, Thanks for sharing your knowledge. Sir, I have one doubt? if we have an application with Database then how could we upload DB into the console? . in real-time also will we use a tomcat server for java projects?
@rajaregulavalasa8716
@rajaregulavalasa8716 5 лет назад
Amazing knowledge and great teaching in simple words depicts the knowledge levels of the tutor.
@dreamcatcher9491
@dreamcatcher9491 6 лет назад
Thanks a lot for such a wonderful video. Am looking for the next video but am not able to find it. Please upload it asap it would really help. Thanks a lot once again.
@ValaxyTechnologies
@ValaxyTechnologies 6 лет назад
The foundation work for the next one had already begun with docker. Today we release how to install and launch your first docker container. Have a look - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-XT07rI9b7Go.html The complete one will be in the future after we have covered the building blocks.
@ChickChiquita523
@ChickChiquita523 6 лет назад
Hi Sir..Could you please share the link CI/CD pipeline that includes docker container.
@sudharsanpv
@sudharsanpv 6 лет назад
sankar..u r awesome presenter...pls do share devops engineer daily roles n also interview questions...which will help us a lot
@ValaxyTechnologies
@ValaxyTechnologies 6 лет назад
It is in the works. Will plan for it soon. Fingers crossed. Thanks for asking. Happy Learning 😀
@PawanMusing
@PawanMusing 4 года назад
Neat & clean explanation understood clearly entire process
@ValaxyTechnologies
@ValaxyTechnologies 4 года назад
Glad you liked it
@sameerk6269
@sameerk6269 4 года назад
Thanks for the video. During post-build action, copying war file from the source to destination did not get where did you get the source path i.e webappstarget/*.war.
@devopsaspire2225
@devopsaspire2225 4 года назад
It is the path that we mention for the playbook. 18:58 in this video and check the location.
@sureshaws6355
@sureshaws6355 2 года назад
@@devopsaspire2225 Hi from where we want to take war file in src path
@arieff1508
@arieff1508 3 года назад
Hi, I have scenario like jenkins and ansible server two different aws ec2 servers i have been trying to deploy an app by using jenkins pipeline. Please tell me how to integrate jenkins and ansible b/w two different sever. Please suggest how write jenkins pipeline job
@pvpsk1955
@pvpsk1955 5 лет назад
Dear Sir, As i have done same procedure mentioned in the video, but we have faced the below error in jenkins, can u help me out on this sir Waiting for Jenkins to finish collecting data [JENKINS] Archiving /var/lib/jenkins/workspace/helloworldproject/pom.xml to app/ansibleproject/1.0-SNAPSHOT/ansibleproject-1.0-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/workspace/helloworldproject/target/ansibleproject.war to app/ansibleproject/1.0-SNAPSHOT/ansibleproject-1.0-SNAPSHOT.war channel stopped SSH: Failed to get hostname [ansibleserver: ansibleserver: Name or service not known] SSH: Connecting with configuration [ansible_server] ... SSH: Disconnecting configuration [ansible_server] ... SSH: Transferred 0 file(s) SSH: Failed to get hostname [ansibleserver: ansibleserver: Name or service not known] SSH: Connecting with configuration [ansible_server] ... SSH: EXEC: STDOUT/STDERR from command [ansible-playbook/opt/playbooks/copyfile.yml] ... bash: ansible-playbook/opt/playbooks/copyfile.yml: No such file or directory SSH: EXEC: completed after 213 ms SSH: Disconnecting configuration [ansible_server] ... ERROR: Exception when publishing, exception message [Exec exit status not zero. Status [127]] Build step 'Send files or execute commands over SSH' changed build result to UNSTABLE Finished: UNSTABLE
@TorringtonFernandopulle
@TorringtonFernandopulle 4 года назад
Superb explanation !!! .... Thank you .....
@ValaxyTechnologies
@ValaxyTechnologies 3 года назад
You are welcome Torrington! Appreciate your comment. Do follow us on instagram/facebook for the latest updates. instagram.com/valaxytechnologies/?hl=en facebook.com/ValaxyTechnologies
@amitdixit2635
@amitdixit2635 5 лет назад
Hi.... helpful video.... i have a question.... if we can execute cicd through the help of cron according to previous video then why we need ansible for the same?.......... your answer will be helpful for me
@ValaxyTechnologies
@ValaxyTechnologies 5 лет назад
Think scale? multi region deployment? multi account deployment? multi application deployment? Monitoring all this? Sigh!!!!
@amitdixit2635
@amitdixit2635 5 лет назад
Are you talking about physical data center and for cloud as well?
@ValaxyTechnologies
@ValaxyTechnologies 5 лет назад
@@amitdixit2635 What do you think?
@amitdixit2635
@amitdixit2635 5 лет назад
I think for both.
@ВладКарасёв-е4д
@ВладКарасёв-е4д 5 лет назад
проект Very cool project, but I have a problem. Not created .war file on the ansible server. How can this be solved? It is impossible to integrate into the chain git+jenkins+ansible+tomcat Ansible itself. Without ansible works. C Ansible no.
@satisha1599
@satisha1599 5 лет назад
Source file location u should have entered complete path i.e. , opt/playbook/webapp/target/*. war But u did half of work above and rest in remote directory?
@SandeepVerma-gn3lw
@SandeepVerma-gn3lw 5 лет назад
He is not copying the file.....instead he is copying the entire directory
@pavankumar-nr4mv
@pavankumar-nr4mv 3 года назад
one doudt how jenkins knows to place the war file in ansible server in /opt/playbooks/target/webapp.war,, we did not create any /opt/playbooks/target directories in ansible server any reply please
@shrutikhandekar4893
@shrutikhandekar4893 2 года назад
Tomcat & Ansible is installed on same machine or different I have confusion Please rename the serevers
@anantkumar-jz2sx
@anantkumar-jz2sx 5 лет назад
Awesome tutorial series. Thanks for creating this. Could you please help me understand where and how we run Junit? Testing phase is missing it seems.
@hanumanthareddy8104
@hanumanthareddy8104 5 лет назад
Thanks alot Sir . nice explanation. I have one doubt if i want to deploy the code into 10 servers same time , every server need to configure in jenkins server or any other procedure is there . pls help me
@ValaxyTechnologies
@ValaxyTechnologies 5 лет назад
that is where ansible comes in to picture. Ansible can able to deploy on multiple servers at the same time. follow our next video simple devops project 3. its there.
@hanumanthareddy8104
@hanumanthareddy8104 5 лет назад
@@ValaxyTechnologies sure thanks alot Sir
@vishalvaishnav5856
@vishalvaishnav5856 Год назад
Very good explanation, Thank you
@kiranmandal409
@kiranmandal409 2 года назад
Sir can u explain how that war file is available in ansible server....under playbook/webaps/target location
@ashok0107
@ashok0107 4 года назад
Almost half of the comments are about how the .war file was copied into Ansible ....!!! Please explain about that step ?
@rishikeshgade2651
@rishikeshgade2651 4 года назад
Hello Sir, this is Rishikesh from Pune. Thanks to Shankar sir for your efforts in making things easier. I have succefuly completed your first project for CICD. But for this i got some difficulties while performing. These are 1) while performing the keyless authentication, i am not able to connect to the target machine 2) Bcz of that in configure section the test configuration is failing. 3) In this video you r operating the services with 'ansadmin'. But i have to use ec2-user. how can i make the relevant changes ?? I will be waiting for your rply.. Thank you again
@srujanareddy8623
@srujanareddy8623 4 года назад
Hi sir, whenever developers are committed code to GitHub Jenkins take that code and generate package. If I run the job 2nd time it will delete old package and it will create new package means it will override. If something goes wrong with new package how to rollback previous code? Plz help me.
@AshishSharma-gz8pz
@AshishSharma-gz8pz 6 лет назад
You explained very well, Please post next video so that i can learn how to deploy using docker container. pls pls sir do it asap..I will be thankful to you.
@ValaxyTechnologies
@ValaxyTechnologies 6 лет назад
It takes times to package the content in small duration flawlessly, with multiple iterations and getting the explanation right. Think of it like shooting a movie, except that none of us here are skilled at video recording and editing. We are doing our best to release at your pace. Thanks for understanding. Meanwhile, we have enough content within the channel to keep an interested learner busy with cloud and devops for atleast couple of months. I would strongly recommend you go over to our playlists section, I am sure you will find something that resonates with your interests. Thanks again for your patronage.
@AshishSharma-gz8pz
@AshishSharma-gz8pz 6 лет назад
Thanks for replying. Can i reach to you through any messanger or mail to clear doubts?
@AshishSharma-gz8pz
@AshishSharma-gz8pz 6 лет назад
When will be next release ?
@madhuriandhale2938
@madhuriandhale2938 5 лет назад
My jenkins instance status check is failing, how should I proceed with it? Can you share the same videos for centos ?
@ragu1368
@ragu1368 3 года назад
Hai sir we are try to same way of pipeline syntax generator it's possible same way?
@madhan2712
@madhan2712 6 лет назад
hello sir, how you created webapp.war file in ansible server(directory /opt/playbooks/webapp/target/) to deploy to tomcat server...? please share the steps to create webapp.war in ec2 instances
@shivajinaga7893
@shivajinaga7893 5 лет назад
Hello Madhan, webapp.war file is copied to ansible(/opt/playbooks/webapp/target) using the first step using over SSH plugin Then the next step was to run a playbook to copy this war file in ansible to Tomcat webapps. Hope this clears your doubt.
@123deepakkakkar
@123deepakkakkar 2 года назад
Hi Sir, here we have copied the war into webapps but where we can write step to stop tomcat first before deploying war file and start after war copied. Please reply I am confused here.
@krishnap8825
@krishnap8825 4 года назад
Nice Explanation. can u please explain how files are copying from Windows machine to Ansible server.
@girishbhaskaran6697
@girishbhaskaran6697 4 года назад
Hi Shankar, Very good videos and congratulations for your efforts. I am a cyber security professional and i'd like to know the security flaws that as a professional we need to be aware of and advice our IT colleagues while they are setting up the Devops in any organization. Thanks
@ValaxyTechnologies
@ValaxyTechnologies 4 года назад
Check out this Valaxy Udemy Course - Advanced Security: SecOps Automation for the cloud - www.udemy.com/course/aws-cloud-security-proactive-way/learn/?referralCode=71DC542AD4481309A441
@quicksilver5413
@quicksilver5413 4 года назад
Nothing but a great tutorial for learning jenkins. ;)
@vinusandy
@vinusandy 5 лет назад
Hi sir, Actually i am looking to do deployments through ansible but the prblm is I have to deploy war files through jump server and deployed into remote server is it possible?
@sivapothula4638
@sivapothula4638 3 года назад
Wow Addicted this Tutorial. Really helpful.👍
@gopich1065
@gopich1065 5 лет назад
really informative video. thankyou sir.i got one doubt.as war file forms in workspace directory how come path given in video in source files is webapp/target/*.war. could u explain it.
@ValaxyTechnologies
@ValaxyTechnologies 5 лет назад
Hi, by default "source files" looks for file under workspace directory of that job. so need to specify full path.
@Revathi5
@Revathi5 4 года назад
great job! it increased my confidence...Thank you for sharing your knowledge...
@ValaxyTechnologies
@ValaxyTechnologies 4 года назад
Wonderful!
@asmidanazer8849
@asmidanazer8849 3 года назад
If you provide the previous video link , I hope it will be very help full.
@ashu__risiofficial5887
@ashu__risiofficial5887 4 года назад
Silent talent..Very interesting..
@ValaxyTechnologies
@ValaxyTechnologies 4 года назад
Oh! Do try out project 1/3, you may like it!!
@cutegirlaarya7262
@cutegirlaarya7262 4 года назад
Excellent explanation bro.. God bless you.. 👍
@ValaxyTechnologies
@ValaxyTechnologies 4 года назад
Thank you so much 🙂
@susmithachowdary833
@susmithachowdary833 5 лет назад
doubt sir how did u get that webapp.war file in your ansible /opt/ file
@ValaxyTechnologies
@ValaxyTechnologies 5 лет назад
Seems you called me to clarify your doubt right. as I explainedwar file generated by Jenkins as a build process
@vanipatoju6025
@vanipatoju6025 4 года назад
@@ValaxyTechnologies sir, i couldnt find webapp.war file under /opt in ansible server
@Jayanta135
@Jayanta135 4 года назад
how can we automate this ansible setup since you are doing all these manually generate ssh copy them to nodes and adding ansadmin to user,if we have 100s of server doing them manually wil take lot of time, so can we automate them.
@ValaxyTechnologies
@ValaxyTechnologies 4 года назад
Congratulations! You have unlocked Automation 101. Good Luck!
@nageshnetha4944
@nageshnetha4944 4 года назад
Why we are adding user into visudo file it is must for giving root access for that user? and it is necessary for installing phython package into tomcat server?
@ValaxyTechnologies
@ValaxyTechnologies 4 года назад
Nagesh, because user may perform administrative tasks like install, manage users, manage file etc.. on the target system. So we should give sudo access for this. python packages are necessary to install ansible. because ansible developed on python. you can check out the same DevOps project course with the latest updates in the udemy. www.udemy.com/course/valaxy-devops/?referralCode=8147A5CF4C8C7D9E253F
Далее
What is Ansible?
11:06
Просмотров 180 тыс.
Part 5. Roblox trend☠️
00:13
Просмотров 2,9 млн
ROBLOX TRAND AGAIN. Part 7☠️🗿🙋🏻‍♀️
00:16
Learn Jenkins! Complete Jenkins Course - Zero to Hero
1:08:28
GitLab CI CD Tutorial for Beginners [Crash Course]
1:09:00
Part 5. Roblox trend☠️
00:13
Просмотров 2,9 млн