ansible-role-netbox icon indicating copy to clipboard operation
ansible-role-netbox copied to clipboard

Problem with molecule test

Open Shm013 opened this issue 4 years ago • 2 comments

Error when run molecule test

lae.netbox❯ molecule test
---
dependency:
  name: galaxy
driver:
  name: vagrant
  provider:
    name: virtualbox
lint:
  enabled: false
  name: yamllint
platforms:
  - box: generic/debian9
    name: debian-9
provisioner:
  lint:
    enabled: false
    name: ansible-lint
  log: true
  name: ansible
scenario:
  name: default
verifier:
  lint:
    name: flake8
  name: testinfra

ERROR: Failed to pre-validate.

{'lint': ['must be of string type']}

Shm013 avatar Jul 02 '20 10:07 Shm013

OS - Gentoo GNU/Linux

lae.netbox❯ molecule --version
molecule 3.0.4
   ansible==2.9.10 python==3.7

Shm013 avatar Jul 02 '20 10:07 Shm013

It might be because of old version of molecule https://molecule.readthedocs.io/en/latest/configuration.html#lint

Shm013 avatar Jul 02 '20 10:07 Shm013