Skip to content

JGailor/ansible-example-multi-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-example-multi-env

Running this locally

  1. You need Vagrant and Ansible
  2. Clone the repo
  3. cd into the repo you just cloned
  4. vagrant up
  5. ...wait...
  6. ansible-playbook site.yml -i env/staging/inventory
  7. Check the output, read the debug message
  8. ansible-playbook site.yml -i env/production/inventory
  9. Check the output, read the debug message
  10. SHAZAM! Multi-environment setup where you scripts don't need to know anything about the environment they are running in
  11. vagrant destroy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published