-
Notifications
You must be signed in to change notification settings - Fork 25
BUG: Missing create.yml, destroy.yml, molecule_vagrant.py #8
Comments
I confirm that the following files are missing after splitting molecule-vagrant into a plugin:
I'm not sure where to add them though. I think it'd be useful to add a high-level overview of how plugins/drivers work into documentation. I'm new to molecule and it's difficult to get a clear picture of how it works under the hood. Looks like driver uses the cookiecutter template to create Ansible playbooks that are used for provisioning test infrastructure. Then Ansible runs those playbooks and returns the control back to Molecule. Some info on what goes where in $MOLECULE_EPHEMERAL_DIRECTORY would be nice. |
These 3 files should able to place under your molecule scenario folder as a dirty workaround, e.g.
@ssbarnea As a long run could we create another PR for this? |
I will be back at this as soon I sort molecule v3, probably during next weekend. |
@ssbarnea anyway, any hints where the I could expect But I have no idea where |
In case of Travis CI + Molecule + Vagrant + Libvirt + KVM + CentOS/openSUSE/Ubuntu setup, you may reference my initial changes for upgrade from 2.22.0 to 3.0.1: |
@hswong3i, cool! I didn't know Travis supported nested virtualization |
@hswong3i you're able to run VirtualBox inside Travis CI??? I tried many times throughout the years and never could get it working. |
@geerlingguy, I believe he is running kvm (via vagrant-libvirt) to test the role that installs Virtualbox, not the Virtualbox itself. |
Since @ssbarnea mention that we may try for libvirt, I give a try and so SUDDENLY found that Travis CI now coming with vmx from /prof/cpuinfo therefore both libvirt + KVM or VirtualBox now works (but I like libvirt more when compare the works for adding additional disk for Ceph test) Moreover I found that other else github project report that since 2019-08 vmx is UNOFFICIALLY added into GCE instance, that’s also why when I tested with molecule + VirtualBox on early 2019 but still failed :-) Now all my roles migrated from LXD to Vagrant + libvirt + KVM, no more hacky Docker-systemd is required; IMHO, now this molecule-vagrant become much more useful and important when compare with the default Docker-based solution, eg dind or kind. It also works much better than native molecule-libvirt because of Vagrant box supporting. |
Wow thanks so much @hswong3i - got Vagrant to run on TravisCI (with libvirt & KVM), this is absolutely amazing - I had to create my own example project to see it in action: https://github.com/jonashackt/vagrant-travisci-libvrt What did not work until now is the VirtualBox version of that setup (see https://github.com/jonashackt/vagrant-travisci) - are you really sure, VirtualBox will also work? Either way, with that setup together with the |
I released v0.2 which is fixing most of the known issues, including this. |
Thanks!
…On Tue, Feb 25, 2020, 2:19 PM Sorin Sbarnea ***@***.***> wrote:
Closed #8 <#8>
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8?email_source=notifications&email_token=AAAMNSYLRZVIURKWRP73K53REVVKJA5CNFSM4KQHIJU2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOW4DJIKQ#event-3070661674>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAMNS7ZSZHRV3IKZWEEV6LREVVKJANCNFSM4KQHIJUQ>
.
|
CC'ing from "Removed migration and vagrant driver" ansible/molecule#2414 (comment) ansible/molecule#2315 :
Where should these be added in molecule-vagrant?
The text was updated successfully, but these errors were encountered: