Extend interfaces_file to handle sources-directory (#37809)

This commit is contained in:
Ed Schaller 2018-04-20 05:01:46 -06:00 committed by ansibot
parent 74420ecadf
commit e6299298f9

View file

@ -193,6 +193,9 @@ def read_interfaces_lines(module, line_strings):
elif words[0] == "source-dir":
lines.append(lineDict(line))
currently_processing = "NONE"
elif words[0] == "source-directory":
lines.append(lineDict(line))
currently_processing = "NONE"
elif words[0] == "iface":
currif = {
"pre-up": [],