1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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": [],