Creating folder structures

Create folder structure for control node

Create root folder

Create a directory called deployer. Here is where you will download repositories

mkdir deployer

Download configuration repo

Go to deployer directory and download configuration repo for Koa

git clone https://github.com/edx/configuration -b open-release/koa.master

edx-configs

Create another directory in deployer, let's call it edx-configs. Add 2 YAML files in this directory

  • configs.yml

  • secrets.yml

Infra

Create another directory in deployer, let's call it infra and inside infra create a new file called hosts

cd deployer
mkdir infra && touch hosts

ansible.cfg

And the final step, create a new file under the deployer directory, call it ansible.cfg and paste this gist in it

wget https://gist.githubusercontent.com/cubite-tech/e826eea9330d942b9dd11d776a56877a/raw/ansible.cfg

How it should look like

Last updated