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

On Tuesday, January 21, 2014 7:17:39 AM UTC, James Cammarata wrote:
>
> 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!
>
>
> On Mon, Jan 20, 2014 at 10:13 AM, Edd Grant <[email protected]<javascript:>
> > wrote:
>
>> 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
>>
>>
>>  -- 
>> 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 [email protected] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> -- 
>
> James Cammarata <[email protected] <javascript:>>
> Sr. Software Engineer, AnsibleWorks, Inc.
> http://www.ansibleworks.com/ 
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to