Description of problem: Ansible 1.5.3-1.el6 requires python-setuptools to function. After updateing some of my servers I noticed that ansible did not function anymore. Error-Message: Traceback (most recent call last): File "/usr/bin/ansible-playbook", line 22, in <module> import pkg_resources ImportError: No module named pkg_resources The reason was that the python-setuptools package was not installed on those machines. Version-Release number of selected component (if applicable): - ansible.noarch 1.5.3-1.el6 How reproducible: Install ansible on a system on which python-setuptools was not installed before. Steps to Reproduce: 1. Install ansible on a system where python-setuptools was not installed before. 2. Exec /usr/bin/ansible-playbook to get the error message and check yum deplist ansible for missing dependency. Actual results: # yum deplist ansible Loaded plugins: fastestmirror, priorities, security Loading mirror speeds from cached hostfile * base: centos.intergenia.de * epel: mirror.fraunhofer.de * extras: mirror.skylink-datacenter.de * updates: mirror.skylink-datacenter.de 85 packages excluded due to repository priority protections Finding dependencies: package: ansible.noarch 1.5.3-1.el6 dependency: python-httplib2 provider: python-httplib2.noarch 0.7.7-1.el6 dependency: python-paramiko provider: python-paramiko.noarch 1.7.5-2.1.el6 dependency: python-jinja2 provider: python-jinja2.x86_64 2.2.1-1.el6 dependency: python-crypto2.6 provider: python-crypto2.6.x86_64 2.6.1-1.el6 dependency: /usr/bin/python provider: python.x86_64 2.6.6-51.el6 provider: python.x86_64 2.6.6-52.el6 dependency: python(abi) = 2.6 provider: python.x86_64 2.6.6-51.el6 provider: python.x86_64 2.6.6-52.el6 dependency: PyYAML provider: PyYAML.x86_64 3.10-3.el6 dependency: python-keyczar Expected Results: # yum deplist ansible Loaded plugins: fastestmirror, priorities, security Loading mirror speeds from cached hostfile * base: centos.intergenia.de * epel: mirror.fraunhofer.de * extras: mirror.skylink-datacenter.de * updates: mirror.skylink-datacenter.de 85 packages excluded due to repository priority protections Finding dependencies: package: ansible.noarch 1.5.3-1.el6 dependency: python-httplib2 provider: python-httplib2.noarch 0.7.7-1.el6 dependency: python-paramiko provider: python-paramiko.noarch 1.7.5-2.1.el6 dependency: python-jinja2 provider: python-jinja2.x86_64 2.2.1-1.el6 dependency: python-crypto2.6 provider: python-crypto2.6.x86_64 2.6.1-1.el6 dependency: /usr/bin/python provider: python.x86_64 2.6.6-51.el6 provider: python.x86_64 2.6.6-52.el6 dependency: python(abi) = 2.6 provider: python.x86_64 2.6.6-51.el6 provider: python.x86_64 2.6.6-52.el6 dependency: PyYAML provider: PyYAML.x86_64 3.10-3.el6 dependency: python-keyczar dependency: python-setuptools provider: python-setuptools.noarch 0.6.10-3.el6
Good catch. Thanks.
ansible-1.5.4-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/ansible-1.5.4-1.el6
Package ansible-1.5.4-1.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing ansible-1.5.4-1.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-1044/ansible-1.5.4-1.el6 then log in and leave karma (feedback).
ansible-1.5.4-2.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/ansible-1.5.4-2.el6
ansible-1.5.5-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/ansible-1.5.5-1.el6
ansible-1.5.5-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.