# Question about Molecule and creator-ee image

**URL:** <https://forum.ansible.com/t/question-about-molecule-and-creator-ee-image/3053>\
**Category:** Get Help\
**Tags:** ansible-navigator, molecule, ee\
**Created:** [December 23, 2023, 3:46am UTC](https://forum.ansible.com/t/question-about-molecule-and-creator-ee-image/3053 "2023-12-23T03:46:17Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![eric\_hoog](https://avatars.discourse-cdn.com/v4/letter/e/b4bc9f/32.png) [@eric\_hoog](https://forum.ansible.com/u/eric_hoog)\
**Post date:** [December 23, 2023, 3:46am UTC](https://forum.ansible.com/t/question-about-molecule-and-creator-ee-image/3053/1 "2023-12-23T03:46:17Z")

</div>

Hello all,

This is my first post as I just recently found the forum and am greatful to see the wealth of information and knowledge here!

I had a question I asked in the Ansible Devtools Matrix chat but it hasn’t gotten any traction yet (or maybe I’m just being impatient?) So I found this forum and figured I would ask here.

I’m just getting into using Molecule to test my roles from a python venv and its been very useful so far but I just had a fairly basic question regarding something I read one the doc site.

I noticed on the Molecule docs site it mentions there’s a creator-ee image that has Molecule already installed and ansible-navigator is one of the main consumers.

How is Molecule is used in that context from ansible-nagivator inside the creator-ee container?

Is there a way I can use this image to run my molecule tests from the cli or from vscode? I just mainly want to make sure I’m not missing something like that which could possibly make my workflow more efficient (I’m not using CI testing or anything like that at this point).

Any info or advice on this topic would be greatly appreciated.

Thanks,  
Eric

---

<div class="post-metadata">

**Author:** ![eric\_hoog](https://avatars.discourse-cdn.com/v4/letter/e/b4bc9f/32.png) [@eric\_hoog](https://forum.ansible.com/u/eric_hoog)\
**Post date:** [December 28, 2023, 3:36am UTC](https://forum.ansible.com/t/question-about-molecule-and-creator-ee-image/3053/2 "2023-12-28T03:36:39Z")

</div>

I’m guessing my question may have been too long winded.

I think I could shorten it to:

“Why is Molecule included in the creator-ee image?”

Any info on this would be greatly appreciated, maybe it is something very obvious that I’m unaware of.

---

<div class="post-metadata">

**Author:** ![akira6592](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/akira6592/32/222_2.png) [@akira6592](https://forum.ansible.com/u/akira6592)\
**Post date:** [January 19, 2024, 1:54pm UTC](https://forum.ansible.com/t/question-about-molecule-and-creator-ee-image/3053/3 "2024-01-19T13:54:11Z")

</div>

I am interested too. Does anyone know of any?

---

<div class="post-metadata">

**Author:** ![ptn](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/ptn/32/481_2.png) [@ptn](https://forum.ansible.com/u/ptn)\
**Post date:** [January 19, 2024, 5:37pm UTC](https://forum.ansible.com/t/question-about-molecule-and-creator-ee-image/3053/4 "2024-01-19T17:37:04Z")

</div>

> “Why is Molecule included in the creator-ee image?”

No idea. You gotta have to [ask Ganesh about this one](https://github.com/ansible/creator-ee/pull/3) 😃

---

<div class="post-metadata">

**Author:** ![kurokobo](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kurokobo/32/182_2.png) [@kurokobo](https://forum.ansible.com/u/kurokobo)\
**Post date:** [January 20, 2024, 12:05am UTC](https://forum.ansible.com/t/question-about-molecule-and-creator-ee-image/3053/5 "2024-01-20T00:05:48Z")

</div>

I found [the RFE by Ganesh](https://github.com/ansible/ansible-navigator/issues/532).  
There is no native support for molecule on Ansible Navigator yet and not tested well on my side but can we run molecule via`ansible-navigator exec` with mounting project dir including the files for molecule?

---

<div class="post-metadata">

**Author:** ![eric\_hoog](https://avatars.discourse-cdn.com/v4/letter/e/b4bc9f/32.png) [@eric\_hoog](https://forum.ansible.com/u/eric_hoog)\
**Post date:** [January 20, 2024, 12:32am UTC](https://forum.ansible.com/t/question-about-molecule-and-creator-ee-image/3053/6 "2024-01-20T00:32:14Z")

</div>

This is great thanks for looking into this all! For some reason I never thought to actually check the issues or commits in the project.

@ptn great find!

So from the last link @kurokobo posted it appears to be the groundwork for running Molecule within an execution environment. Looks like from 2021. This would be a great feature I think and I’ll definitely follow those issues to see if it comes to fruition! I’d love to help if I had the python skills but not quite there yet.

If anyone hears anything else about this I’d love to know more. Thanks again!

---

<div class="post-metadata">

**Author:** ![eric\_hoog](https://avatars.discourse-cdn.com/v4/letter/e/b4bc9f/32.png) [@eric\_hoog](https://forum.ansible.com/u/eric_hoog)\
**Post date:** [January 20, 2024, 1:38am UTC](https://forum.ansible.com/t/question-about-molecule-and-creator-ee-image/3053/7 "2024-01-20T01:38:21Z")

</div>

I found this GitHub discussion post on the creator-ee project.

> **[Running Ansible Molecule in Fedora Silverblue (Molecule running inside a...](https://github.com/ansible/creator-ee/discussions/345)**
>
> I want to use Fedora Silverblue, which is an immutable distribution and stuff like Ansible should run in containers. The creator-ee works great for the purpose of running Molecule, which requires a...

It shows a way to run molecule using the creator-ee image.

`podman run --privileged -v /home/USER/git/ansible/:/home/runner/ansible --workdir=/home/runner/ansible quay.io/ansible/creator-ee molecule converge`

I haven’t tried it yet but looks like at least a starting point for me. Not sure if this is the right way to go about it but I will definitely be trying it out soon enough.

---

<div class="post-metadata">

**Author:** ![eric\_hoog](https://avatars.discourse-cdn.com/v4/letter/e/b4bc9f/32.png) [@eric\_hoog](https://forum.ansible.com/u/eric_hoog)\
**Post date:** [June 28, 2024, 3:08pm UTC](https://forum.ansible.com/t/question-about-molecule-and-creator-ee-image/3053/8 "2024-06-28T15:08:07Z")

</div>

For those landing here, here’s where this was all heading:  
[https://ansible.readthedocs.io/projects/dev-tools/container/](https://ansible.readthedocs.io/projects/dev-tools/container/)

This is a podman container that has thr ansible dev tools installed into it and that includes Molecule. So you can run Molecule against containers within this dev tools container. It is very handy!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [July 28, 2024, 3:08pm UTC](https://forum.ansible.com/t/question-about-molecule-and-creator-ee-image/3053/9 "2024-07-28T15:08:30Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
