-
Notifications
You must be signed in to change notification settings - Fork 370
Devops code structure
Kiran G edited this page Oct 16, 2017
·
10 revisions
Sunbird devops is split across two repositories, one public and one private.
- 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
`-- dev #name of the environment
| `-- group_vars
| | `-- dev-es.yml # DEV ES specific vars
| | `-- dev.yml # DEV specific vars
| `-- hosts # Ansible inventory definition
| `-- secrets.yml # DEV secrets, encrypted using Ansible vault
Default values for variables should be put in {role}/defaults/main.yml
.
Image: Edit Link