- Inventory with tailnet hosts (indri, gilbert, sifaka) - Prometheus role: installs via homebrew, templates config from current indri setup - Grafana role: installs via homebrew, starts service - ansible.cfg and requirements.yml for community.general collection - Updated CLAUDE.md with ansible dry-run instructions Tested: ansible-playbook playbooks/indri.yml --check --diff (all ok) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
11 lines
312 B
YAML
11 lines
312 B
YAML
---
|
|
- name: Install grafana via homebrew
|
|
community.general.homebrew:
|
|
name: grafana
|
|
state: present
|
|
|
|
- name: Ensure grafana service is started
|
|
ansible.builtin.command: brew services start grafana
|
|
register: brew_start
|
|
changed_when: "'Successfully started' in brew_start.stdout"
|
|
failed_when: false
|