A dynamic inventory for ansible using puppetdb