- Check that Docker and Docker SDK for Python are installed in your system.
- Download this repo:
git clone --recursive https://github.com/jobcespedes/demo-multienv && cd demo-multienv
- Stack the environment (production over base):
ansible-playbook -i localhost, multienv.yml
- Test running a foo playbook:
ansible-playbook foo.yml
- Modify files inside
environments/<environment>
- Test repeating step #4
Refer to multienv Ansible role for how to configure the stackable environment