aabouzaid / netbox-as-ansible-inventory

Ansible dynamic inventory script for Netbox.
GNU General Public License v3.0
174 stars 54 forks source link

Bug : ungrouped hosts should go to the default group "ungrouped" #19

Closed Keyhaku closed 6 years ago

Keyhaku commented 6 years ago

Hi,

It seems you created a group called "no_group" to group hosts that are in no group, but there is already a default ansible group for that : ungrouped

You can see more here : https://docs.ansible.com/ansible/latest/intro_inventory.html#default-groups

I think it's better to use this expected [default] group than the special one you created.

I'll submit a small PR soon.

aabouzaid commented 6 years ago

Thanks @Keyhaku Waiting for your PR.