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:
parent
74420ecadf
commit
e6299298f9
1 changed files with 3 additions and 0 deletions
|
@ -193,6 +193,9 @@ def read_interfaces_lines(module, line_strings):
|
||||||
elif words[0] == "source-dir":
|
elif words[0] == "source-dir":
|
||||||
lines.append(lineDict(line))
|
lines.append(lineDict(line))
|
||||||
currently_processing = "NONE"
|
currently_processing = "NONE"
|
||||||
|
elif words[0] == "source-directory":
|
||||||
|
lines.append(lineDict(line))
|
||||||
|
currently_processing = "NONE"
|
||||||
elif words[0] == "iface":
|
elif words[0] == "iface":
|
||||||
currif = {
|
currif = {
|
||||||
"pre-up": [],
|
"pre-up": [],
|
||||||
|
|
Loading…
Add table
Reference in a new issue