diff --git a/tasks/gather_jenkins_facts.yml b/tasks/gather_jenkins_facts.yml index e885044..b12accc 100644 --- a/tasks/gather_jenkins_facts.yml +++ b/tasks/gather_jenkins_facts.yml @@ -25,8 +25,8 @@ uri: url: "{{ jenkins_facts_jenkins_base_url }}/crumbIssuer/api/xml?xpath=concat(//crumbRequestField,\":\",//crumb)" force_basic_auth: true - user: "{{ jenkins_pipeline_library_it_admin_username }}" - password: "{{ jenkins_pipeline_library_it_admin_password }}" + user: "{{ jenkins_facts_admin_username }}" + password: "{{ jenkins_facts_admin_password }}" return_content: yes register: _jenkins_facts_csrf_crumb_result