Hello ,
I am trying to add jenkins plugins using playbook .
playbook is like this —
- hosts: “{{ target }}”
tasks: - name: Install plugin
jenkins_plugin:
name: build-pipeline-plugin
url_password: welcome1
url: http://localhost:8080
Error:fatal: [10.16.41.21]: FAILED! => {“changed”: false, “details”: “HTTP Error 403: Forbidden”, “failed”: true, “msg”: “Cannot get CSRF”}
to retry, use: --limit @/root/jenkinsplugin.retry