mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
@@ -132,8 +132,8 @@ def diff_config(candidate, config):
|
||||
|
||||
elif action == 'delete':
|
||||
for cfg in config:
|
||||
if cfg.startswith(cfgline):
|
||||
updates.add(cfgline)
|
||||
if cfg[4:].startswith(cfgline):
|
||||
updates.add(line)
|
||||
|
||||
return list(updates)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user