-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
molecule init role is gone #574
Comments
Seems as if the way to do this now is with |
Definitely need to tweak some of the molecule bits — a lot changed in the past few months! |
No joke. I don't know what it was like before, but 6.0.x seems to check the You have your work cut out for you, I think, writing a description of this that will work with the usual minor differences between readers because at present Molecule seems to be super brittle. If there's anything I can do to help proof the new content, please let me know. I have (finally) got something that appears to be working, but I'm sure I am still missing a lot. |
I was just setting up to start using molecule for the first time as a beginner. I can’t find any version 6 introductory examples anywhere that mention virtualbox inventory, or pretty well any introductory version 6 in narrative form. I need to test against functional operating system instances, not docker. My playbooks are for configuring my developer workstations. I had been configuring Ubuntu 22.04 and Debian 12. It seems the molecule team wrote the documentation with themselves as the target audience. Missing pages in the docs site too. |
Just to add that i had decided to finally give molecule a test run, and yes it has been an exercice in frustration. |
I just recently bought the book and was a bit frustrated after seeing that the molecule chapter is not really working these days. Not to blame @geerlingguy here, more the poor documentation of the molecule team at the moment. The documented getting started is not usable at all. As an example, if I follow this step by step and come to the point to change the I was happy to hear about molecule and the possibilities it brings to test against different environment, but the state of development and documentation seems to be a throwback. |
I would like to get to it, can't guarantee when unfortunately: #574 (comment) Molecule has changed a lot in the past couple years, but seems to have settled down a little, so I think it would be a good time to retry writing up that chapter. |
Molecule is my secret weapon on the daily. |
My showstopper is executing roles on my docker instances. While direct tasks work, including roles does not. My open issue on molecule: ansible/molecule#4256 (comment) |
Chapter 13, page 351, "Testing a role with Molecule":
... no longer works. The
molecule role init
command was removed in Molecule 6.0 (I think):See ansible/molecule#3959
The text was updated successfully, but these errors were encountered: