How to run Ansible playbook from Jenkins pipeline job | Ansible Jenkins Integration| DevOps Tutorial

  Рет қаралды 78,255

Java Home Cloud

Java Home Cloud

Күн бұрын

In this demo you will see how to run Ansible playbooks from Jenkins using ansible plugin.
For Online/Classroom trainings and project support please contact
Java Home Cloud, Banglore India
+919886611117

Пікірлер: 81
@starsystechnologies6413
@starsystechnologies6413 3 жыл бұрын
I saw few videos those are titled with DevOps , every video they prepared for 7-10 hours but by the end of the session you learn nothing (just theory and overview) . But this video just in few mins with clear steps he explained how to work with ansible , much appreciated. Great 👍
@JavaHomeCloud
@JavaHomeCloud 3 жыл бұрын
Thanks a lot, Keep watching
@vandanajha9915
@vandanajha9915 Жыл бұрын
Brilliant short and crisp video for someone who wants to learn and run an ansible playbook using Jenkins pipeline in 10 min. Thank you very much for the great video 👍
@dotdashdotdot
@dotdashdotdot 4 жыл бұрын
Great video, step by step. Even shows installing Ansible and Git after receiving errors. It helps to know something about Ansible, Git and Jenkins before watching this video.
@JavaHomeCloud
@JavaHomeCloud 4 жыл бұрын
Glad it helped
@SureshKumar-gh8vi
@SureshKumar-gh8vi 2 жыл бұрын
Appreciate the effort you put in to create such a video. That helped me quickly while setting up a similar environment.
@hassinba
@hassinba 3 жыл бұрын
This is exactly what I've been looking for. Now running Ansible playbooks using my repo as the source, and my team can all collab and work on playbooks together. Thanks!
@JavaHomeCloud
@JavaHomeCloud 3 жыл бұрын
Glad I could help
@pravanjanrath
@pravanjanrath Жыл бұрын
Great video! Very clear instructions and I was able to setup the pipeline in one go. Thanks a lot.
@JavaHomeCloud
@JavaHomeCloud Жыл бұрын
Glad it helped!
@GN-fv5ek
@GN-fv5ek 2 жыл бұрын
Now, I am in love with this channel's content....
@TheDrummeroftheTree
@TheDrummeroftheTree 3 жыл бұрын
Thanks for sharing such useful content my friend. You saved my computer from being thrown away from a second floor XD.
@JavaHomeCloud
@JavaHomeCloud 3 жыл бұрын
Glad I could help
@saikumarramadasu9700
@saikumarramadasu9700 2 жыл бұрын
It was very good and understandable explanation for integration of ansible to Jenkins... thankyou sir! Plz Keep post latest videos on devops
@pratikoturkar123
@pratikoturkar123 4 жыл бұрын
I have only one word. Superb................................. A well explained video.
@JavaHomeCloud
@JavaHomeCloud 4 жыл бұрын
Thank you so much 😀
@bryanz1945
@bryanz1945 Жыл бұрын
Simple but Very useful. Thanks!!
@olakunleoni1514
@olakunleoni1514 2 жыл бұрын
Subscribed! You did it without any complications. Thanks
@govindaddalarao1488
@govindaddalarao1488 2 жыл бұрын
Thanks for your simple explaination and presentation, Good content
@duncanowino7653
@duncanowino7653 4 жыл бұрын
Nice. I followed this and was able to setup my pipeline
@JavaHomeCloud
@JavaHomeCloud 4 жыл бұрын
Excellent!
@rajashekark3106
@rajashekark3106 3 жыл бұрын
Bro need help
@JavaHomeCloud
@JavaHomeCloud 3 жыл бұрын
@@rajashekark3106 yes please
@meruvabalaji1500
@meruvabalaji1500 3 жыл бұрын
Great explanation, thanks a lot. I followed the same steps and it worked for me.
@JavaHomeCloud
@JavaHomeCloud 3 жыл бұрын
Glad it helped, please do subscribe and share
@yogidilip
@yogidilip 2 жыл бұрын
Great video. Short and to the point.
@GuruPrasad-be9ff
@GuruPrasad-be9ff 3 жыл бұрын
I am very very to watch your videos and i got acquired a lot of knowledge, I am requesting you to please upload a video with git , sonarqube, maven, nexus, docker, ansible, kubernetes , whole tools in one single CICD pipeline Thanks in Advance.....
@JavaHomeCloud
@JavaHomeCloud 3 жыл бұрын
Will upload soon
@luismanuelmorales7194
@luismanuelmorales7194 3 жыл бұрын
Excelente video! Muchas gracias!
@JavaHomeCloud
@JavaHomeCloud 3 жыл бұрын
Thank you
@prasadrao5333
@prasadrao5333 2 ай бұрын
outstanding video
@JavaHomeCloud
@JavaHomeCloud 2 ай бұрын
Thank you
@pushparajp1864
@pushparajp1864 2 жыл бұрын
Fantastic explain. Really thanks sir..
@srinivasantarvedi
@srinivasantarvedi Жыл бұрын
I assume you have installed ansible on the same machine where jenkins also running, correct me if i am wrong, help understand what changes i have to do if i have to call the ansible playbook from an existing ansible server that is not having jenkins setup... solution, i am assuming at this point of time to run a sh command to do a remote ssh command to my ansible server and pass ansible playbook using -c argument?
@arig2519
@arig2519 3 жыл бұрын
I have installed Jenkins & Ansible on the same ec2 instance and also provided the SSH details as you showed on this video but still my job is failing with error: "fatal: [localhost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Host key verification failed.", "unreachable": true}". Ideally, I don't think it requires to ssh if ansible is already installed on the same Jenkins server. Any suggestions?
@rohitbhushan7229
@rohitbhushan7229 3 жыл бұрын
same issue faced by me
@nguyenminh15988
@nguyenminh15988 3 жыл бұрын
@@rohitbhushan7229 yah same issue with me fatal: [54.160.182.77]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Host key verification failed. ", "unreachable": true} to retry, use: --limit @/var/lib/jenkins/workspace/ansible/apache.retry
@nguyenminh15988
@nguyenminh15988 3 жыл бұрын
hello i found solution for it we should enable host_key_checking = False in ansible config file
@Mistysoil
@Mistysoil 2 жыл бұрын
@@nguyenminh15988 I am also getting same issue fatal: : UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh:: Permission denied (publickey,password).", "unreachable": true}
@Mistysoil
@Mistysoil 2 жыл бұрын
but its not fixed with above I tried changing config setting. Have u changed it in ansible controller?
@kamalakannand9651
@kamalakannand9651 2 жыл бұрын
excellent this deploy video
@karthickudatha335
@karthickudatha335 2 жыл бұрын
Do we have privilege to execute a set of ansible adhoc commands as a pipeline
@kiritik1163
@kiritik1163 2 жыл бұрын
I get error: playbook could not be found in jenkins pipeline. Any idea?
@roya2045
@roya2045 3 жыл бұрын
Hi the ansible playbook structure/spacing or what its called as indentation is it common on all playbooks that is written or does it change. Its bit confusing where and when to use spaces & hyphens in a playbook. I am not from a coding or developer background hence it becomes more confusing is there a editor to automatically take the spacing & hyphens when writing the playbook. Can you make a video on that.Kindly reply
@nikhilverma1552
@nikhilverma1552 3 жыл бұрын
sir can we delete conatiners from remote host via ansible playbook.....plz guide
@Googlepaynnn
@Googlepaynnn 3 жыл бұрын
Hi When i tried to install ansible getting the below error. sudo yum-config-manager --enable epel Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
@MAANJA_BOYS_ADDA
@MAANJA_BOYS_ADDA 2 жыл бұрын
UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).", "unreachable": true} im getting this error
@JavaHomeCloud
@JavaHomeCloud 2 жыл бұрын
Check your SSH private key, Its wrong or check key permissions
@MAANJA_BOYS_ADDA
@MAANJA_BOYS_ADDA 2 жыл бұрын
@@JavaHomeCloud thank you
@behumanf1rst
@behumanf1rst 4 жыл бұрын
good. it could have been better what is the purpose of ansible in Jenkins, with and without Ansible in Jenkins
@muthukumarramu3149
@muthukumarramu3149 2 жыл бұрын
Hi Bro, Incase if i have private github repo.. in that scenario how to do that.
@rajashekark3106
@rajashekark3106 3 жыл бұрын
Which userid and private id u are given may I know that is ansible userid and private..or Apache id key
@hieunguyenofficial9497
@hieunguyenofficial9497 3 жыл бұрын
Thanks you very much. Very useful.
@JavaHomeCloud
@JavaHomeCloud 3 жыл бұрын
You are welcome! please subscribe
@hieunguyenofficial9497
@hieunguyenofficial9497 3 жыл бұрын
@@JavaHomeCloud I subscribed to your channel
@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
@pashamramesh037
@pashamramesh037 3 жыл бұрын
Have you tried ansible plugin using ssh username and password credentials instead of ssh private key?
@balajisundar605
@balajisundar605 2 жыл бұрын
No such DSL method 'Pipeline' found among steps I'm getting this error , dont know how to fix this
@JavaHomeCloud
@JavaHomeCloud 2 жыл бұрын
Seems you are using capital P in pipeline block, keep in lowercase
@balajisundar605
@balajisundar605 2 жыл бұрын
@@JavaHomeCloud thank you sir
@balajisundar605
@balajisundar605 2 жыл бұрын
I have subscribed to your courses in Udemy for DevOps
@raghavendra0708
@raghavendra0708 2 жыл бұрын
super like
@nashariff5441
@nashariff5441 3 жыл бұрын
Thanks.
@markfencingman
@markfencingman 3 жыл бұрын
Could you tell me part of which playlist on your channel is this video of?
@JavaHomeCloud
@JavaHomeCloud 3 жыл бұрын
It should be jenkins playlist
@juergenschubert3247
@juergenschubert3247 3 жыл бұрын
Great Video! Wondering when you are working with Ansible variables like IP and others which you do have configured in a var file. Do you see a change so Jenkins will ask for the values instead of having them into a var file as the IP will be variable and it might be an option to get asked for this value?
@JavaHomeCloud
@JavaHomeCloud 3 жыл бұрын
check this, input message: 'enter password', parameters: [password(defaultValue: 'value', description: '', name: 'hidden')]
@babasahebmunde6365
@babasahebmunde6365 2 жыл бұрын
Thank you sir
@shilpachaudhary6791
@shilpachaudhary6791 3 жыл бұрын
Your videos have been a lot of help. I am trying to follow the demo, but I am getting time out error for fetch from Git, can you suggest some solution for it?
@JavaHomeCloud
@JavaHomeCloud 3 жыл бұрын
post full details of error
@nah0221
@nah0221 3 жыл бұрын
thank you !
@JavaHomeCloud
@JavaHomeCloud 3 жыл бұрын
You're welcome!
@ashok.9761
@ashok.9761 4 жыл бұрын
Are you setup ssh key gen between Jenkins and apache node
@JavaHomeCloud
@JavaHomeCloud 4 жыл бұрын
Yes
@lolalola2354
@lolalola2354 4 жыл бұрын
can you explain one more time user ec2-user from which box?
@JavaHomeCloud
@JavaHomeCloud 4 жыл бұрын
come again please
@GN-fv5ek
@GN-fv5ek 2 жыл бұрын
Subscribed
@alexkuligowski4092
@alexkuligowski4092 3 жыл бұрын
Anyone else notice mic bumping?
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 10 МЛН
小蚂蚁会选到什么呢!#火影忍者 #佐助 #家庭
00:47
火影忍者一家
Рет қаралды 120 МЛН
SISTER EXPOSED MY MAGIC @Whoispelagheya
00:45
MasomkaMagic
Рет қаралды 12 МЛН
Flipping Robot vs Heavier And Heavier Objects
00:34
Mark Rober
Рет қаралды 59 МЛН
What is Ansible | Ansible Playbook explained | Ansible Tutorial for Beginners
16:41
How to Integrate Ansible With Jenkins
9:37
CloudBeesTV
Рет қаралды 25 М.
Build Maven Project Using Jenkins | Execute Maven Project In Jenkins
15:33
How to design a Deployment Pipeline (GitOps)
11:01
DevOps Journey
Рет қаралды 41 М.
Complete Jenkins Pipeline Tutorial | Jenkinsfile explained
35:06
TechWorld with Nana
Рет қаралды 786 М.
The IDEAL & Practical CI / CD Pipeline - Concepts Overview
22:36
Be A Better Dev
Рет қаралды 485 М.
🕊️Valera🕊️
00:34
DO$HIK
Рет қаралды 10 МЛН