Menu
Grafana Cloud
Grafana Ansible collection
The Grafana Ansible collection provides configuration management resources for Grafana. You can use it to manage resources such as dashboards, Cloud stacks, folders, and more.
The collection also houses the Grafana Agent Role which can be used to deploy and manage Grafana Agent across various linux machines.
For resources currently not available in the Grafana Ansible collection, you can manage those resources on Grafana Cloud programmatically by writing Ansible playbooks that use the Ansible’s builtin uri module to call the HTTP APIs to manage resources for the Grafana Cloud portal, as well as those within a stack.
Use the following guides to get started using Ansible to manage your Grafana Cloud stack:
Topic | Description |
---|---|
Create and manage a Grafana Cloud stack using Ansible | Describes how to create a Grafana Cloud stack and add a data source and dashboard using Ansible. |
Install Grafana Agent on a Linux host using Ansible | Describes how to install the Grafana Agent on a Linux node using Ansible and use it to push logs to Grafana Cloud. |
Monitor multiple Linux hosts with Grafana Agent Role | Describes how to use the Grafana Ansible collection to manage agents across multiple Linux hosts. |
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:

Getting started with your metrics, logs, and traces in Grafana Cloud
Learn to use the best open source observability software (Grafana, Prometheus, Loki, and Tempo) without the overhead of managing and scaling your own stack.

Kubernetes monitoring, out-of-the-box with Grafana Cloud
In this webinar you’ll learn how Grafana offers developers and SREs a simple and quick-to-value solution for monitoring their Kubernetes infrastructure.

Unify your data with Grafana plugins: Datadog, Splunk, MongoDB, and more
In this webinar, learn how to leverage Grafana's plugin ecosystem for access to 80+ data sources, including plugins for Datadog, Splunk, MongoDB, and more.