Ansible Variables Setup
Sunbird uses Ansible playbooks to manage its three major sub-systems (Knowledge Platform, Data Pipeline and Core Services), to ensure scalability, consistency and reliability of its IT environment. The Ansible variables help server setup, configuration management and automate deployment.
Updating the Private Repository with Hosts and Variables
Use the following Git commands sequentially to clone and update your private GitHub repository:
cd sunbird-devops; git checkout tags/release-2.7.0 -b release-2.7.0
Copy the directory
sunbird-devops/private_repo/ansibleto your private repo location
Update the files
DataPipeline. After updating, push them to your private repo branch. The structure under the
ansibledirectory is shown below.
Note The following depicts the folder structure required in the private GitHub repository that contains Ansible hosts, secrets and variables.
ansible └── inventory └── dev ├── Core │ ├── common.yml │ ├── hosts │ └── secrets.yml ├── DataPipeline │ ├── common.yml │ ├── hosts │ └── secrets.yml └── KnowledgePlatform ├── common.yml ├── hosts └── secrets.yml