From e9a353d5c915690df980860df7049150089ef620 Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Mon, 18 Jan 2021 09:59:08 +0100 Subject: [PATCH] Assert on localhost, makes the play stop if the assertion fails. --- tasks/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index cff0f40..ee155ef 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -2,8 +2,9 @@ # tasks file for grub - name: include assert.yml - include_tasks: assert.yml + import_tasks: assert.yml run_once: yes + delegate_to: localhost - name: install required packages package: