From b37277823a3640601f29c37da644a7600a783ee2 Mon Sep 17 00:00:00 2001 From: Sumit Jaiswal Date: Thu, 13 Jun 2024 09:44:13 +0530 Subject: [PATCH] fix ari 223 issue (#240) --- ansible_risk_insight/model_loader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible_risk_insight/model_loader.py b/ansible_risk_insight/model_loader.py index 6c79d651..11c9b0a9 100644 --- a/ansible_risk_insight/model_loader.py +++ b/ansible_risk_insight/model_loader.py @@ -81,9 +81,9 @@ # "brightcomputing.bcm-9.1.11+41615.gitfab9053.info" collection_info_dir_re = re.compile(r"^[a-z0-9_]+\.[a-z0-9_]+-[0-9]+\.[0-9]+\.[0-9]+.*\.info$") -string_module_options_re = re.compile(r"^(?:[^ ]* ?)([a-z0-9_]+=(?:[^ ]*{{ [^ ]+ }}[^ ]*|[^ ])+\s?)") +string_module_options_re = re.compile(r"^(?:[^ ]* ?)([a-z0-9_]+=(?:[^ ]*{{ [^*]+ }}[^ ]*|[^ ])+\s?)") -string_module_option_parts_re = re.compile(r"([a-z0-9_]+=(?:[^ ]*{{ [^ ]+ }}[^ ]*|[^ ])+\s?)") +string_module_option_parts_re = re.compile(r"([a-z0-9_]+=(?:[^ ]*{{ [^*]+ }}[^ ]*|[^ ])+\s?)") loop_task_option_names = [ "loop",