mirror of
https://github.com/zerwes/ansible-fqcn-converter.git
synced 2024-07-07 04:43:04 -05:00
fixed taskstartregex (closes #11)
This commit is contained in:
parent
a6e7e6d6a9
commit
6ea8bd799d
|
@ -296,7 +296,7 @@ for dirpath, dirnames, files in os.walk(os.path.abspath(args.directory)):
|
|||
# prepare regex
|
||||
_fqcnregex = re.compile(r'^(?P<white>\s*-?\s+)(?P<module>%s):' % '|'.join(fqcndict.keys()))
|
||||
_taskstartregex = re.compile(
|
||||
r'^(?P<white>\s*-\s+)(?P<nm>%s):' %
|
||||
r'^(?P<white>\s*-\s+)(?P<nm>%s):$' %
|
||||
'|'.join(['name'] + list(fqcndict.keys()))
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user