- Vagrant:
brew install hashicorp/tap/hashicorp-vagrant
vagrant plugin install vagrant-vbguest --plugin-version 0.21
- VirtualBox
Commands |
Description |
vagrant up |
starts and provisions the vagrant environment |
vagrant status |
outputs status of the vagrant machine |
vagrant ssh |
connects to machine via SSH |
vagrant reload --provision |
enable provisioning |
vagrant suspend |
suspends the machine |
vagrant resume |
resume a suspended vagrant machine |
|
|
ansible -m ping all |
|
ansible-playbook playbook-name-here.yml |
runs Ansible playbook, executing the defined tasks on the targeted hosts |
ansible-playbook playbook-name-here.yml --check |
(Dry run) don't make any changes; instead, try to predict some of the changes that may occur |
|
|
ssh-keygen |
generate public/private rsa ssh-keygen |