ansible/molecule

molecule login should auto call create if needed

Open

#2,469 opened on Dec 10, 2019

View on GitHub
 (0 comments) (4 reactions) (0 assignees)Python (636 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (3,686 stars)
PR merge metrics
 (Avg merge 18d 16h) (9 merged PRs in 30d)

Description

If instances are not created, executing molecule login should also run create instead of giving the error below:

$ molecule login                                                                                                                                                                        [11:54:43]
--> Validating schema /.../molecule/default/molecule.yml.
Validation completed successfully.
ERROR: Instances not created.  Please create instances first.
FAIL: 1

This should improve the user experience, making very easy to step-inside an instance.

Contributor guide