# yum module: failed to parse: SUDO-SUCCESS-owdhaivbcxarzwabxjtblacdvifhvhtk

**URL:** <https://forum.ansible.com/t/yum-module-failed-to-parse-sudo-success-owdhaivbcxarzwabxjtblacdvifhvhtk/14385>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [January 20, 2014, 4:13pm UTC](https://forum.ansible.com/t/yum-module-failed-to-parse-sudo-success-owdhaivbcxarzwabxjtblacdvifhvhtk/14385 "2014-01-20T16:13:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Edd\_Grant](https://avatars.discourse-cdn.com/v4/letter/e/cab0a1/32.png) [@Edd\_Grant](https://forum.ansible.com/u/Edd_Grant)\
**Post date:** [January 20, 2014, 4:13pm UTC](https://forum.ansible.com/t/yum-module-failed-to-parse-sudo-success-owdhaivbcxarzwabxjtblacdvifhvhtk/14385/1 "2014-01-20T16:13:01Z")

</div>

Hi all,

I’m getting the following error when trying to execute the yum module to install an RPM:

fatal: [[dev.eddgrant.com](http://dev.eddgrant.com)] =\> failed to parse: SUDO-SUCCESS-owdhaivbcxarzwabxjtblacdvifhvhtk  
Traceback (most recent call last):  
File “/home/ansible/.ansible/tmp/ansible-1390233348.21-255866138675253/yum”, line 1766, in ?  
main()  
File “/home/ansible/.ansible/tmp/ansible-1390233348.21-255866138675253/yum”, line 737, in main  
disablerepo, disable\_gpg\_check)  
File “/home/ansible/.ansible/tmp/ansible-1390233348.21-255866138675253/yum”, line 659, in ensure  
my = yum\_base(conf\_file)  
File “/home/ansible/.ansible/tmp/ansible-1390233348.21-255866138675253/yum”, line 123, in yum\_base  
my.preconf.debuglevel=0  
AttributeError: ‘YumBase’ object has no attribute ‘preconf’

The task which causes this is as follows:

- name: Install Apache HTTPD Package  
yum: name=httpd state=latest

With the exception of the yum module all other tasks/ plays executed against this host complete successfully.

The system I’m running this from is: Ubuntu 12.10 (64 bit) running ansible 1.4.3  
The system being provisioned is: CentOS 5.4 32 bit using JSON module: python-simplejson i386 Version: 2.0.9 Release: 1.el5.rf

Anyone have any idea what might cause this? Let me know if there’s any other diagnostic information I can provide.

Cheers,

Edd

---

<div class="post-metadata">

**Author:** ![James\_Cammarata1](https://avatars.discourse-cdn.com/v4/letter/j/d26b3c/32.png) [@James\_Cammarata1](https://forum.ansible.com/u/James_Cammarata1)\
**Post date:** [January 21, 2014, 7:17am UTC](https://forum.ansible.com/t/yum-module-failed-to-parse-sudo-success-owdhaivbcxarzwabxjtblacdvifhvhtk/14385/2 "2014-01-21T07:17:39Z")

</div>

This appears to be an issue with an older version of yum on CentOS 5. Could you open a github issue for this please?

Thanks!

---

<div class="post-metadata">

**Author:** ![Edd\_Grant](https://avatars.discourse-cdn.com/v4/letter/e/cab0a1/32.png) [@Edd\_Grant](https://forum.ansible.com/u/Edd_Grant)\
**Post date:** [January 21, 2014, 8:31am UTC](https://forum.ansible.com/t/yum-module-failed-to-parse-sudo-success-owdhaivbcxarzwabxjtblacdvifhvhtk/14385/3 "2014-01-21T08:31:17Z")

</div>

D’oh - thanks for the quick response. Have raised an issue as requested:

[https://github.com/ansible/ansible/issues/5700](https://github.com/ansible/ansible/issues/5700)

Any ideas of a workaround at this point? I could always fall back to the command/ shell module if not.

Cheers.

Edd
