molecule 25.3.1 using python 3.13
ansible:2.18.3
default:25.3.1 from molecule
vagrant:2.0.0 from molecule_vagrant
I have the following in my molecule.yml file
---
dependency:
name: galaxy
driver:
name: vagrant
platforms:
- name: instance
box: generic/centos8
# box: rockylinux/8 # Change to desired Vagrant box
memory: 1024
cpus: 2
networks:
- name: private_network
type: dhcp # Or set a static IP like "192.168.56.10"
provider_options:
virtualbox: # Use VirtualBox as the provider
gui: false
provisioner:
name: ansible
verifier:
name: ansible
Regardless whats listed on that box line the only vbox vm that gets started is: bento/ubuntu-16.04 (virtualbox, 202212.11.0).
I have noticed that when I run molecule --debug create the file: .ansible/tmp/molecule.cVCv.default/molecule.yml gets created. In there the platforms: - box: line shows the correct box but that is not what gets started in VBox.
Why is this happening to me?