ansible/cron/knot-restart.yaml
2024-05-28 17:16:10 +05:30

13 lines
233 B
YAML

---
- name: Knot Restarts (EU/US)
hosts: eu,us
vars:
services:
- knot
tasks:
- name: Do thing
ansible.builtin.systemd_service:
state: restarted
name: knot
with_items: "{{ services }}"