style 💎: Improve regex pattern for parsing samba provision output
Updated the regex pattern to correctly extract private/krb5.conf paths from the samba provision output, ensuring accurate configuration file detection.
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
(
|
||||
samba_provision_output.stdout
|
||||
| regex_findall('(/[^\\s,"'']*/private/krb5\\.conf)')
|
||||
| map('regex_replace', "['',\" ,]", '')
|
||||
| list
|
||||
| default([])
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user