Ansible roles for infra configs and deployments CAUTION: THIS IS NOT GOOD FOR YOUR PRODUCTION, VARIABLES ARE NOT DECLARED CLEARY AND SOME VARIABLES ARE HARDCODED
ansible-playbook common.yaml -i ./hosts.ini -l jenkins
- install ntp
- install docker, docker-compose
- set proxy for docker
- install pip and docker, docker-compose with pip ( for ansible use)
- docker login to harbor
- create users and configs on servers
- copy user ssh key
- disables ssh with password login
clear_docker_container_and_images.yaml ( this file is very dangerous, it removes all container and images on vms)
logins in harbor with ansible users for deployments
install cadvisor and node exporter on dockerize vps for promtheus/
- postgres.yaml (warehouse, notifications)
- install and configs stage infra with one docker-compose file
- config os resources such as nofile, swappines, etc
- install redis
- install mongo
- install rabbitmq