# Testing Ansible roles with Molecule on OpenShift?

**URL:** <https://forum.ansible.com/t/testing-ansible-roles-with-molecule-on-openshift/30795>\
**Category:** Ansible Project\
**Created:** [July 16, 2019, 10:25pm UTC](https://forum.ansible.com/t/testing-ansible-roles-with-molecule-on-openshift/30795 "2019-07-16T22:25:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![afeller](https://avatars.discourse-cdn.com/v4/letter/a/f08c70/32.png) [@afeller](https://forum.ansible.com/u/afeller)\
**Post date:** [July 16, 2019, 10:25pm UTC](https://forum.ansible.com/t/testing-ansible-roles-with-molecule-on-openshift/30795/1 "2019-07-16T22:25:34Z")

</div>

I’ve spent a few hours digging around for solid documentation on the [molecule site](https://molecule.readthedocs.io/en/stable/configuration.html#driver) or examples of people doing this, however I’ve come up with nothing definitive. [OpenShift documentation](https://docs.openshift.com/container-platform/3.11/admin_guide/securing_builds.html) rightly advocates to limit privileged container access to dockerd daemon, which is the default driver for molecule. Tools like [redhat-cop/openshift-applier](https://github.com/redhat-cop/openshift-applier/blob/master/.travis.yml) and other Red Hat projects seem to be managing ephemeral VMs for CI via TravisCI rather than doing this in OpenShift itself with any of it’s BuildConfig / Jenkins support.

Would appreciate anyone pointing out some pre-existing projects out there running on OpenShift that drive this or highlight why that is a no go.

Thanks
