- first run $ molecule init scenario
- edit the files under default/ such as converge.yml, molecule.yml verify.yml
- make sure the image and privilege are setup correctly
- next run $ molecule converge
- Make sure the tests are either included with the playbook or under verify.yml
- verify.yaml lets you verify the task without running the whole setup.
- add - fail: in the mail.yml to stop the
nuraabideen / molecule-playbook-testing Goto Github PK
View Code? Open in Web Editor NEWThis is an example from the Ansible 101