playbook/role fails when installing a list of packages if one package isn't found in the repo

I am having a problem with a role that I am working on to install rpm’s on a rhel server. If a package in the list is not found, the playbook fails to install any of the packages. Is there a way to work around this outside of only including available rpm’s in my list? I know that the osad package is not in the current repos, but my expectation was that it would simply fail and move on to the next package in the list, not fail the entire list. Is there error handling that would address this?

This is the main.yml task for the role: /etc/ansible/roles/install-base-packages

If the yum is anything like the apt module it takes all the entries in the list and make one yum command
yum install lvm2 net-tools .....

I don't now if it's possible to turn this behavior off, but a workaround like this will work.

inc.yml