-
Notifications
You must be signed in to change notification settings - Fork 372
Devops code structure
Kiran G edited this page Oct 16, 2017
·
10 revisions
Sunbird devops is split across two repositories.
-
Public repo
- Ansible roles.
- Ansible playbooks.
- Simple deployment scripts.
- Docker Image scripts.
- Azure ACS engine scripts which help in setting up Docker swarm on Azure.
- Private repo
Following inventory structure is used:
`-- inventories
`-- {env} #name of the environment
| `-- group_vars
| | `-- {env}-es.yml # ES specific variables
| | `-- ...
| | `-- ...
| | `-- {env}.yml # Variables
| `-- hosts # Ansible inventory definition
| `-- secrets.yml # Secrets, encrypted using Ansible vault
Default values for variables should be put in {role}/defaults/main.yml
.
Image: Edit Link