Molecule login to instance ansible
SSH into a live Molecule test container to inspect state mid-scenario before destroy
molecule login --host instance
more ansible
all 56 commands →
Resume at a specific task
ansible-playbook site.yml --start-at-task "Deploy app config"
List tasks and hosts dry
ansible-playbook site.yml --list-tasks --list-hosts -i prod
Per-task timing profile
ANSIBLE_CALLBACKS_ENABLED=profile_tasks ansible-playbook site.yml
Keep remote temp files
ANSIBLE_KEEP_REMOTE_FILES=1 ansible-playbook site.yml -vvvv --limit <host>
Run a playbook
ansible-playbook -i inventory/prod playbook.yml --diff