This is a simple ansible-playbook for you to create a monitoring server using Prometheus, InfluxDB, and Grafana. With this stack, you can create a server to centralize the metrics of your environment and view it's in your dashboards in Grafana.
With Node Exporter you can centralize the metrics in Prometheus, with Telegraf you can send the metrics to InfluxDB, and Grafana you can view these metrics.
After inserting the IP address in the host, execute the command in your terminal:
ansible-playbook -i hosts main.yml --key-file='your-key.pem'
This playbook was tested on AWS EC2 using one t3.medium. The distro is Ubuntu 18.04.
https://docs.influxdata.com/influxdb/v1.7/