Jenkins install Plug-in Ansible

Ansible is a well-known structure management tool. Ansible displays the message in JSON format, explaining the structure of the system with YAML.

Refer to install Ansible and Jenkins as the link below

How to Install Ansible in Centos.
Install and use on Jenkins.

Install plugin Ansible for Jenkins

Global setting

Specify the Ansible implementation directory. Manage Jenkins -> Global Tool Configuration as the picture below

Configure job run Ansible Playbook

Create job –> configure job –> Add build step as the picture below

My example

Invoke Ansible Playbook as the picture below

The explain component in Invoke Ansible Playbook as the picture below

Conclusion

Thought the article, You can “Install Plug-in Ansible in Jenkins as above. I hope will this your helpful. Thank you for reading DevOpsRoles.com page

, ,

About HuuPV

My name is Huu. I love technology and especially Devops Skill such as Docker, vagrant, git so forth. I likes open-sources. so I created DevopsRoles.com site to share the knowledge that I have learned. My Job: IT system administrator. Hobbies: summoners war game, gossip.
View all posts by HuuPV →

Leave a Reply

Your email address will not be published. Required fields are marked *

Comment moderation is enabled. Your comment may take some time to appear.

This site uses Akismet to reduce spam. Learn how your comment data is processed.