ansible/cron/knot-restart.yaml

13 lines
233 B
YAML
Raw Normal View History

2024-05-28 17:16:10 +05:30
---
- 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 }}"