mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 13:50:22 -07:00
parent
162b75068f
commit
714ced8e1c
1 changed files with 2 additions and 2 deletions
|
@ -132,8 +132,8 @@ def diff_config(candidate, config):
|
||||||
|
|
||||||
elif action == 'delete':
|
elif action == 'delete':
|
||||||
for cfg in config:
|
for cfg in config:
|
||||||
if cfg.startswith(cfgline):
|
if cfg[4:].startswith(cfgline):
|
||||||
updates.add(cfgline)
|
updates.add(line)
|
||||||
|
|
||||||
return list(updates)
|
return list(updates)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue