Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jobcespedes/demo-multienv
This project is for testing a stackable multienvironment directory layout for Ansible
https://github.com/jobcespedes/demo-multienv
ansible container demo development docker inventory unionfs
Last synced: about 1 month ago
JSON representation
This project is for testing a stackable multienvironment directory layout for Ansible
- Host: GitHub
- URL: https://github.com/jobcespedes/demo-multienv
- Owner: jobcespedes
- License: apache-2.0
- Created: 2019-09-23T21:56:01.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-09T22:40:22.000Z (almost 5 years ago)
- Last Synced: 2024-11-11T09:02:57.244Z (3 months ago)
- Topics: ansible, container, demo, development, docker, inventory, unionfs
- Size: 27.3 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Testing a stackable multienvironment directory layout for Ansible
[![Buy me a coffee](https://img.shields.io/badge/$-BuyMeACoffee-blue.svg)](https://www.buymeacoffee.com/jobcespedes)
## Quickstart:
1. Check that [Docker](https://docs.docker.com/install/) and [Docker SDK for Python](https://docker-py.readthedocs.io/en/stable/) are installed in your system.
2. Download this repo: ```git clone --recursive https://github.com/jobcespedes/demo-multienv && cd demo-multienv```
3. Stack the environment (production over base): ```ansible-playbook -i localhost, multienv.yml```
4. Test running a _foo_ playbook: ```ansible-playbook foo.yml```
5. Modify files inside ```environments/```
6. Test repeating step #4
> Refer to [multienv Ansible role](https://github.com/jobcespedes/multienv/blob/master/README.md) for how to configure the stackable environment> [Read the article for more detail](https://jobcespedes.dev/2020/02/multiple-environments-in-ansible/)