Relative Content

Tag Archive for bashansible

Get the highest value of a json key with Ansible

I want to get the highest value of a child key with Ansible and store it in a variable. I’m able to do it with a bash command, which I could easily use with Ansible but I’m sure there is a more Ansible way to do it. Here is what I currently have: