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.
Why does the
_get_host_data_by_id
method inforeman_ansible_inventory.py
useapi/hosts/:id
request instead of usinghosts/:id/enc request
?If
_get_host_data_by_id
used thehosts/: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.