Ansible is a well-known structure management tool. Ansible displays the message in JSON format, explaining the structure of the system with YAML. Now, let’s go Jenkins install Plug-in Ansible.
Refer to install Ansible and Jenkins as the link below
How to Install Ansible in Centos.
Install and use on Jenkins.
Jenkins install Plug-in Ansible
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
Invoke Ansible Playbook as the picture below
The explain component in Invoke Ansible Playbook as the picture below
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