Closed He3chai closed 3 years ago
I kinda knew about this issue but is more complex because syntax also depends on the driver being used, so it needs to be instantiated. Also drives do have this sanity check which is very useful for failing fast when they are not setup correctly.
Feel free to propose a fix.
Molecule no longer depends on docker plugin, nor its sanity check.
Issue Type
Molecule and Ansible details
Molecule installation method (one of):
Ansible installation method (one of):
Detail any linters or test runners used:
Desired Behavior
I want to implement two pipelines:
That's why only one pipeline needs to actually be 'Docker ready'
With molecule 2.20 - Syntax check is working and doesn't depends on docker.
Actual Behaviour
With molecule 3+ - Syntax check is no longer working if
driver: docker
is used and Docker daemon is not reachableSanity checks: 'docker'
seems to come from thedriver: docker
. While usingdriver: delegated
it's working again.Unfortunately it seems not possible to use variables for the driver option.
Workarounds: