From b87ab88f52a0fc96388167bdd704795bec0b519b Mon Sep 17 00:00:00 2001 From: Jose Date: Thu, 6 Nov 2025 05:52:17 +0100 Subject: [PATCH] =?UTF-8?q?style=20=F0=9F=92=8E:=20Update=20regex=20patter?= =?UTF-8?q?n=20for=20finding=20krb5.conf=20path?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated the regular expression to correctly extract the krb5.conf path from the Samba provision output, ensuring consistency in the configuration file location. --- tasks/kerberos.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/kerberos.yml b/tasks/kerberos.yml index 94e34f3..235e331 100644 --- a/tasks/kerberos.yml +++ b/tasks/kerberos.yml @@ -3,7 +3,7 @@ ansible.builtin.set_fact: krb5_conf_path: >- {{ (samba_provision_output.stdout - | regex_findall("(/\\S*krb5\\.conf)") + | regex_findall("(/[^\\s]+/krb5\\.conf)") | default([]) ) | first | default('') }} when: samba_provision_output.stdout is defined