# rpm\_key issue with jenkins setup -failed to parse error

**URL:** <https://forum.ansible.com/t/rpm-key-issue-with-jenkins-setup-failed-to-parse-error/15952>\
**Category:** Ansible Project\
**Created:** [August 15, 2014, 3:49am UTC](https://forum.ansible.com/t/rpm-key-issue-with-jenkins-setup-failed-to-parse-error/15952 "2014-08-15T03:49:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinay.bhasker](https://avatars.discourse-cdn.com/v4/letter/v/5f9b8f/32.png) [@vinay.bhasker](https://forum.ansible.com/u/vinay.bhasker)\
**Post date:** [August 15, 2014, 3:49am UTC](https://forum.ansible.com/t/rpm-key-issue-with-jenkins-setup-failed-to-parse-error/15952/1 "2014-08-15T03:49:42Z")

</div>

I am new to Ansible and trying to setup Jenkins via ansible playbook.  
Below is the snippet from the mail.yml file used.

rpm\_key: state=present key=/shared/temp/jenkins-ci.org.key

main.yml

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan1](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Post date:** [August 16, 2014, 2:49pm UTC](https://forum.ansible.com/t/rpm-key-issue-with-jenkins-setup-failed-to-parse-error/15952/2 "2014-08-16T14:49:22Z")

</div>

First, make sure you are running a recent version of Ansible. 1.7.1 is the latest.

Occasionally the “you didn’t supply a sudo password / you supplied a wrong sudo password” on a particular OS detection isn’t perfect.

If you are using sudo, and need a password, be sure to supply --ask-sudo-pass.

It sounds like you’re having a traceback though. Is that all of the output that came back? Can you paste the rest of the playbook run so we can tell for sure?
