From 73b76731ec70909c70794f8c2b19ac2304379f61 Mon Sep 17 00:00:00 2001 From: Christian Steinle Date: Fri, 16 May 2025 11:30:47 +0000 Subject: [PATCH] Use the extracted run-next playbook. --- nas.yaml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/nas.yaml b/nas.yaml index a83b40c..fd6554f 100644 --- a/nas.yaml +++ b/nas.yaml @@ -56,12 +56,7 @@ state: unmounted become: true - - name: Run next playbook - ansible.builtin.uri: - url: http://ansible.lan/api/integrations/ei0dtntvuz54ot3s - method: GET - status_code: 204 - headers: - Content-Type: application/json - Authorization: Bearer "{{ token }}" - run: shutdown +- name: Include the run next playbook + import_playbook: run-next.yaml + vars: + to_do: shutdown