mirror of
https://github.com/zerwes/ansible-fqcn-converter.git
synced 2025-02-25 18:55:30 -06:00
extended regex for unnamed tasks
This commit is contained in:
parent
80bccecc9e
commit
4a6076ceb7
@ -175,7 +175,7 @@ for dirpath, dirnames, files in os.walk(os.path.abspath(args.directory)):
|
|||||||
parsefiles.append(f)
|
parsefiles.append(f)
|
||||||
|
|
||||||
# prepare regex
|
# prepare regex
|
||||||
_fqcnregex = re.compile(r'^(?P<white>\s*)(?P<module>%s):' % '|'.join(fqdndict.keys()))
|
_fqcnregex = re.compile(r'^(?P<white>\s*-?\s*)(?P<module>%s):' % '|'.join(fqdndict.keys()))
|
||||||
|
|
||||||
# do it
|
# do it
|
||||||
for f in parsefiles:
|
for f in parsefiles:
|
||||||
|
Loading…
Reference in New Issue
Block a user