Which Molecule commands do you use day to day?
IntermediateProductionRapid-Fire Commands
Answer
molecule converge # create instance if needed and apply the role
molecule converge && molecule converge # quick manual idempotence check
molecule login -h rocky9 # shell into an instance to inspect
molecule verify # run verify tests only
molecule test -s ec2 # full sequence for a named scenario
molecule test --destroy=never # keep the instance after a failure for debugging
molecule destroy
converge and verify during development; full test in CI.
More on Rapid-Fire Commands
How do you see which hosts a playbook would run against, without running it?BeginnerHow do you list the tasks and tags a playbook contains?BeginnerHow do you inspect the inventory structure and a host's variables?BeginnerHow do you restart a service on a group with an ad-hoc command?BeginnerHow do you resume a playbook from a specific task or step through it?BeginnerHow do you re-run a playbook only on the hosts that failed?Intermediate