Skip to content

rmdes/ansible-monitoring-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monitoring stack

Preparation

  1. Setup venv:
python3 -m venv ./venv
  1. Activate venv:
. venv/bin/activate
  1. Install Python packages:
pip install -r requirements.txt
  1. Create .vault directory and put the ansible vault key into .vault/devops file

  2. Decrypt files/someadmin_id_rsa and put this ssh private key outside the git repo, then encrypt again using ansible-vaul

NOTE: It's mandatory to use >= Python3.9 <= Python3.11 for working with ansible 5.10.0

Installation

  1. Execute the following command for installing monitoring-stack
ansible-playbook -i inventory playbooks/monitoring_stack.yaml -D

Validation

At this moment only alertmanager, grafana, loki and prometheus roles are covered by molecule

  1. Navigate to a role directory
  2. Run molecule create for creating infrastructure and deploying dependencies there
  3. Install a main service executing molecule converge
  4. Execute molecule verify for running tests
  5. Destroy all resources which were provisioned by molecule by executing molecule destroy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published