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