Simple Grafana deployment and minor adjustments to /etc/grafana/grafana.ini
. The playbook is intended to run in the RedHat Demo environment.
Minimum Ansible requirements:
- ansible-core
The following Ansible Collections are necessary:
- community.general
- community.grafana
Missing collections can be installed with the provided requirements.yml
file.
ansible-galaxy collection install -r requirements.yml
Adjust the inventory file, the main.yml
references the group grafana, create the group and add a host to it.
Execute playbook (inventory is set in ansible.cfg):
ansible-playbook main.yml
Created 2022 by Tim Grützmacher