This commit is contained in:
karoel2 2022-06-15 10:38:48 +02:00
parent 6263ac9d2b
commit 5a30aeded7

View File

@ -84,7 +84,7 @@ def add_facts(args, facts):
for idx, item in enumerate(args): for idx, item in enumerate(args):
if key == item[0]: if key == item[0]:
if value != None and item[1] == None: if value != None and item[1] == None:
args[idx] = value args[idx][1] = value
if key == 'repo': if key == 'repo':
validate_repo(value) validate_repo(value)
if value == None and item[1] != None: if value == None and item[1] != None: