Log in to a Molecule instance
Open a shell in a running Molecule test instance to check its state before destroy
molecule login --host instance
- tool
- ansible56 commands
More ansible commands
-
ansible-playbook site.yml --start-at-task "Deploy app config"Skip everything before the named task; resume a long failed playbook without redoing the setup
-
ansible-playbook site.yml --list-tasks --list-hosts -i prodPreview the run: every task and the final target hosts, without connecting to them
-
ANSIBLE_CALLBACKS_ENABLED=profile_tasks ansible-playbook site.ymlSort tasks by run time to find the slow steps; profile_roles does the same per role
-
ANSIBLE_KEEP_REMOTE_FILES=1 ansible-playbook site.yml -vvvv --limit <host>Keep the module scripts Ansible pushed to ~/.ansible/tmp, so you can debug a failing module by hand
-
ansible-playbook -i inventory/prod playbook.yml --diffRun a playbook with --diff to see what it changes