# Ansible-playbook failing to install packages

**URL:** <https://forum.ansible.com/t/ansible-playbook-failing-to-install-packages/16785>\
**Category:** Ansible Project\
**Created:** [November 14, 2014, 10:04am UTC](https://forum.ansible.com/t/ansible-playbook-failing-to-install-packages/16785 "2014-11-14T10:04:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sakhi\_Hadebe](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@Sakhi\_Hadebe](https://forum.ansible.com/u/Sakhi_Hadebe)\
**Post date:** [November 14, 2014, 10:04am UTC](https://forum.ansible.com/t/ansible-playbook-failing-to-install-packages/16785/1 "2014-11-14T10:04:20Z")

</div>

Hi All,

I am new and know nothing about ansible, just followinga documentation to achieve what I want to achieve.

The error below has hindered my progress:  
TASK: [common | Common: Install packages] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
failed: [safire.sanren.ac.za] =\> {“changed”: false, “failed”: true, “rc”: 0, “results”: }  
msg: No Package matching ‘policycoreutils-python’ found available, installed or updated

FATAL: all hosts have already failed – aborting

I have tried to install the package policycoreutils-python with no luck as it requires many dependencies that ended up breaking the python library.

Ho do I fix the error? Please help

---

<div class="post-metadata">

**Author:** ![Strahinja\_Kustudic2](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@Strahinja\_Kustudic2](https://forum.ansible.com/u/Strahinja_Kustudic2)\
**Post date:** [November 15, 2014, 12:21am UTC](https://forum.ansible.com/t/ansible-playbook-failing-to-install-packages/16785/2 "2014-11-15T00:21:38Z")

</div>

Have you tried installing that package manually, since from the looks of the message I would say the package doesn’t exist.

What distribution are you using? Could you post your playbook?
