Open zerchevack opened 9 months ago
Hi,
You should set more things for your vagrant box on your molecule.yml
file.
For IP I use : 192.168.10.42
but chose apropriate one for your tests ;)
---
role_name_check: 1
dependency:
name: galaxy
driver:
name: vagrant
provider:
name: libvirt
type: libvirt
options:
memory: 192
cpus: 2
platforms:
- name: instance
box: generic/debian12
interfaces:
- auto_config: true
network_name: private_network
type: static
ip: 192.168.10.42
groups:
- molecule_vm
provisioner:
name: ansible
log: true
lint:
name: ansible-lint
scenario:
name: default
verifier:
name: ansible
Hello,
I try to run a simple molecule test but the creation fail with the bellow output I think the vagrant instance is not create and this is the reason of ansible failed but i don't know why the "Create" playbook skip all tasks.
My molecule.yml file :
My converge file :
My pip module installed :
My molecule version :
Could you you help me ? Have you an idea ?
Thanks