From c4a0ab71950eccb6a4c5ac296a328e6ffff02398 Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Fri, 27 Nov 2020 16:42:04 +0100 Subject: [PATCH] Test is a defined variable is a string. --- tasks/assert.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/assert.yml b/tasks/assert.yml index 03da57d..00c5d3f 100644 --- a/tasks/assert.yml +++ b/tasks/assert.yml @@ -4,6 +4,7 @@ assert: that: - item.name is defined + - item.name is string - item.name in [ "monochrome" ] quiet: yes loop: "{{ y_presets }}" @@ -16,10 +17,12 @@ assert: that: - y_import_from is defined + - y_import_from is string quiet: yes - name: test if y_export_to is set correctly assert: that: - y_export_to is defined + - y_export_to is string quiet: yes