How to Install & create freestyle jobs in Jenkins using Ansible

Hi,

Can anyone help me to install , create freestyle jobs in Jenkins using Ansible.

Thanks
Avik

Hello, @avik.dey
You don’t require to install the plugin for freestyle project in jenkins. It’s a default one.
To perform a freestyle job in jenkins using Ansible, you can use jenkins_job module.
https://docs.ansible.com/ansible/latest/collections/community/general/jenkins_job_module.html
In case, if you wanna add or remove jenkins plugins.
https://docs.ansible.com/ansible/latest/collections/community/general/jenkins_plugin_module.html

1 Like