theforeman / foreman_ansible_inventory

Foreman dynamic inventory script for ansible - Now merged into Ansible itself
GNU General Public License v3.0
70 stars 31 forks source link

Improving inventory content #49

Closed selmison closed 6 years ago

selmison commented 6 years ago

Why does the _get_host_data_by_id method in foreman_ansible_inventory.py use api/hosts/:id request instead of using hosts/:id/enc request?

If _get_host_data_by_id used the hosts/:id/enc request, the inventory provided by the Foreman would contain much more information and the parameters would accept ERB codes as in the Foreman/Puppet integration.