File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2402,19 +2402,19 @@ def run_action_absent(self, idx):
24022402 profile_uuids = set ()
24032403
24042404 if name :
2405- black_list_names = []
2405+ kept_profiles = []
24062406 else :
24072407 # Delete all profiles except explicitly included
2408- black_list_names = ArgUtil .connection_get_non_absent_names (self .connections )
2408+ kept_profiles = ArgUtil .connection_get_non_absent_names (self .connections )
24092409
24102410 # Keep loopback device too. Deleting it would trigger a 'changed' state
24112411 # every time the playbook is run as the device is recreated
2412- black_list_names .add ("lo" )
2412+ kept_profiles .add ("lo" )
24132413
24142414 for nm_profile in self ._nm_provider .get_connections ():
24152415 if name and nm_profile .get_id () != name :
24162416 continue
2417- if nm_profile .get_id () not in black_list_names :
2417+ if nm_profile .get_id () not in kept_profiles :
24182418 profile_uuids .add (nm_profile .get_uuid ())
24192419
24202420 if not profile_uuids :
You can’t perform that action at this time.
0 commit comments