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
Install plugin Ansible for Jenkins
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.