I need a help in Jenkins Job Creation with parameters using Ansible. I have checked many documents but not helping much.
I have checked https://docs.ansible.com/ansible/latest/collections/community/general/jenkins_job_module.html but not getting what needs to be added in templates/test.xml?
- name: Create a jenkins job using basic authentication
community.general.jenkins_job:
config: "{{ lookup('file', 'templates/test.xml') }}"
name: test
password: admin
url: http://localhost:8080
user: admin