As a workaround for ansible erasing previously gathered facts, I’m packaging all required information in one single dictionary. When examining this information in foreman, only 4 levels can be displayed.
If i try to open a 4th level branch to display the items it contains, the interface brings me back to view with the root of the dictionary (closed)
Display the items within the 4th level of a dictionary
PS. The key of these items is a shortened path, as in folder/subfolder/item, maybe this is the reason, not the depth of the dictionary (I will test this)