Creating folder structures
Create folder structure for control node

Create root folder

Create a directory called deployer. Here is where you will download repositories
1
mkdir deployer
Copied!

Download configuration repo

Go to deployer directory and download configuration repo for Koa
1
git clone https://github.com/edx/configuration -b open-release/koa.master
Copied!

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
1
cd deployer
2
mkdir infra && touch hosts
Copied!

ansible.cfg

And the final step, create a new file under the deployer directory, call it ansible.cfg and paste this gist in it
1
wget https://gist.githubusercontent.com/cubite-tech/e826eea9330d942b9dd11d776a56877a/raw/ansible.cfg
Copied!

How it should look like

Last modified 4mo ago