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

Prefer hostgroup title over hostgroup name #54

Open eevans6913 opened 5 years ago

eevans6913 commented 5 years ago

Foreman changed behviour in 1.12: the hostgroup_name does no longer contain the parent hostgroups like " a / b / c " but the title does so use this for the building the ansible groups. Fall back to hostgroup_name for older versions.

Closes #27