iterating over a deep nested hash
I have the following hiera data. I'm currently using 3 nested each functions to get the values of the data. Is there a simplest way to iterate over all values ?
--- apache::hosts: dxgav01: acdx: abcd01: key3: value3 key4: value4 ncdv01: key1: value1 key2: value2
Update: I have incorrectly stated that I used combination of each and dig. I used nested each function.