- You need Vagrant and Ansible
- Clone the repo
cd
into the repo you just clonedvagrant up
- ...wait...
ansible-playbook site.yml -i env/staging/inventory
- Check the output, read the debug message
ansible-playbook site.yml -i env/production/inventory
- Check the output, read the debug message
- SHAZAM! Multi-environment setup where you scripts don't need to know anything about the environment they are running in
vagrant destroy
-
Notifications
You must be signed in to change notification settings - Fork 1
JGailor/ansible-example-multi-env
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published