Skip to content

Latest commit

 

History

History
9 lines (9 loc) · 681 Bytes

ansible.md

File metadata and controls

9 lines (9 loc) · 681 Bytes

Ansible w/ Vagrant

  1. sudo pip install ansible (uses pip to install ansible)
  2. sudo pip install ansible --upgrade (pip to update ansible)
  3. vagrant up (turns on your vagrant instance - must be in directory with vagrantfile)
  4. vagrant down (turns off your vagrant instance - must be in a directory with vagrant file)
  5. vagrant ssh (ssh's you into your vagrant instance)
  6. ansible-vault encrypt .your-file-here (uses ansible-vault to encrypt a file with passwords)
  7. ansible-vault view .your-file-here (uses ansible-vault to view an encrypted pw file)
  8. ansible-vault edit .your-file-here (allows you to edit a vault pw file)