Ansible-playbook failing to install packages

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

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?