UpCloudLtd / upcloud-ansible-collection

Ansible UpCloud Collection module
MIT License
4 stars 2 forks source link

Provide ansible_distribution when building inventory #7

Open HOSTED-POWER opened 3 years ago

HOSTED-POWER commented 3 years ago

Hi,

We would need to know beforehand if a host if Windows, or Debain or CentOS, this way we can put them in appropriate groups.

For sure windows needs to be divided from the other hosts since other connection parameters are needed when using Ansible.

It would be great if more information of the server was specified.

Worst case just having the initial template name would be a great step forward ;)

Atm this is quite blocking to get 100% automation...

ajmyyra commented 1 year ago

Hi there!

We should be able to make this grouping available soon. Currently it's not yet available in our API (only in control panel) and you'd need to set this by yourself with our server labels or server groups (and then filtering with those that is supported in our 0.6.0 release), but as it will be made available with other changes, we can start supporting grouping these. I don't yet know the time when this will be available, but we should be getting back to this right after it's available.