From 4ba4415d3166c62c7304d9277ea15fd9106dd611 Mon Sep 17 00:00:00 2001 From: Arya Kiran Date: Tue, 28 May 2024 17:16:10 +0530 Subject: [PATCH] knot restarts --- cron/knot-restart.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 cron/knot-restart.yaml diff --git a/cron/knot-restart.yaml b/cron/knot-restart.yaml new file mode 100644 index 0000000..ea43921 --- /dev/null +++ b/cron/knot-restart.yaml @@ -0,0 +1,12 @@ +--- +- 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 }}"