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

422 views
Skip to first unread message

Edd Grant

unread,
Jan 20, 2014, 11:13:01 AM1/20/14
to ansible...@googlegroups.com
Hi all,

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

fatal: [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


James Cammarata

unread,
Jan 21, 2014, 2:17:39 AM1/21/14
to ansible...@googlegroups.com
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!


--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--

James Cammarata <jcamm...@ansibleworks.com>
Sr. Software Engineer, AnsibleWorks, Inc.
http://www.ansibleworks.com/

Edd Grant

unread,
Jan 21, 2014, 3:31:17 AM1/21/14
to ansible...@googlegroups.com
D'oh - thanks for the quick response. Have raised an issue as requested:

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
Reply all
Reply to author
Forward
0 new messages