TIL how to get a plaintext list of Ansible hosts
There was a need to iterate over the hosts in an Ansible inventory-file (don’t ask). After fiddling...
Tags: todayilearned, ansible, jq