From 5d9192814e4d70e39e209b60893fbb0a915dd0e8 Mon Sep 17 00:00:00 2001 From: saltydk Date: Tue, 5 Dec 2023 04:17:53 +0100 Subject: [PATCH] ansible: fix assert after breaking change --- roles/sanity_check/tasks/subtasks/tags_check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/sanity_check/tasks/subtasks/tags_check.yml b/roles/sanity_check/tasks/subtasks/tags_check.yml index 53f6d60ad4..35c2e75538 100644 --- a/roles/sanity_check/tasks/subtasks/tags_check.yml +++ b/roles/sanity_check/tasks/subtasks/tags_check.yml @@ -22,6 +22,6 @@ - name: "Ensure valid tags were provided." ansible.builtin.assert: that: - - '"{{ item }}" in available_ansible_tags.stdout_lines' + - item in available_ansible_tags.stdout_lines msg: "You must supply valid tags.')" with_items: "{{ ansible_run_tags }}"