Skip to content

Commit 3dadd8f

Browse files
author
Tobias Richter
committed
Use crumb when uninstalling plugin
1 parent 2eb2182 commit 3dadd8f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tasks/main.yml

+2
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@
105105
force_basic_auth: true
106106
url_username: "{{ jenkins_plugins_admin_username }}"
107107
url_password: "{{ jenkins_plugins_admin_password }}"
108+
headers:
109+
Jenkins-Crumb: '{{ jenkins_facts_csrf_crumb }}'
108110
with_dict: "{{ jenkins_plugins_uninstall_plugins | default({}) }}"
109111
changed_when: _jenkins_plugins_uninstall_result.status == 302
110112
notify:

0 commit comments

Comments
 (0)