mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-03 01:03:09 +00:00
Fix interfaces_file to accept allow-* (#37847)
This commit is contained in:
committed by
John R Barker
parent
c3c30440f8
commit
5ac41ee8d8
@@ -219,7 +219,7 @@ def read_interfaces_lines(module, line_strings):
|
||||
elif words[0] == "auto":
|
||||
lines.append(lineDict(line))
|
||||
currently_processing = "NONE"
|
||||
elif words[0] == "allow-":
|
||||
elif words[0].startswith("allow-"):
|
||||
lines.append(lineDict(line))
|
||||
currently_processing = "NONE"
|
||||
elif words[0] == "no-auto-down":
|
||||
|
||||
Reference in New Issue
Block a user