blumeops/ansible/roles/loki/handlers/main.yml
Erich Blume ba5cd75ee2 Fix ansible handler timeouts for alloy and loki restarts
Use async with poll: 0 to fire-and-forget service restarts.
These services have graceful shutdown periods that can exceed
ansible's default command timeout.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 12:39:28 -08:00

5 lines
102 B
YAML

---
- name: restart loki
ansible.builtin.command: brew services restart loki
async: 120
poll: 0