Use tripleo.collect_logs.flatten_nested_dict

Reference the plugin module by FQCN, so that it can be
consumed when installed via ansible galaxy

Change-Id: I83f44a2ecd8bf1634d8dc580479c6de13dfe5ff7
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
This commit is contained in:
Bogdan Dobrelya 2023-11-21 14:43:01 +01:00
parent 910efeb558
commit 49925fcdf2
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@
combined_cmds: "{{ artcl_commands | combine(artcl_commands_extras, recursive=True) }}"
# combines default dictionary with user defined one
# keeps only commands from groups mentioned in collect_log_types
flatten_nested_dict:
tripleo.collect_logs.flatten_nested_dict:
data: "{{ combined_cmds | dict2items|selectattr('key', 'in', collect_log_types) | list | items2dict }}"
register: artcl_commands_flatten