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 }}"