Skip to content

IIM-Green-Team/devops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Green Team's devops repo

Contributors

Instances

We are using Scaleway's instances.

Scaleway's selected servers provides more environmentally friendly services, using simultaneously direct air cooling combined with an adiabatic system.

Our instance IPs list is in the following file : ./automation/inventory/hosts

Automation

Change directory to automation/ansible

Setup

Install ansible roles :

$ ansible-galaxy role install -r ./requirements.yml -p ./roles 

In order to accelerate github runner's deployment roles are commited and not ignored.

Deployment

Write the vault pass in file named .vault_pass.

Launch the following command :

$ ansible-playbook ./production.yml -i ./inventory/hosts  --key /path/to/ssh-private-key --vault-password-file ./.vault_pass

Ansible roles

  • common: make a apt-get update on the server
  • docker: Install docker on the server
  • pip: Install python on the server
  • site: Install python docker, docker-compose modules on the server and launch docker-compose up on the server.

About

Repo devops

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages