Azure inventory: Hosts vs Cloud Services

115 views
Skip to first unread message

Trond Hindenes

unread,
Aug 22, 2014, 6:45:45 AM8/22/14
to ansible...@googlegroups.com
I just tested the Azure Inventory (thru Ansible Tower 2.0, but I guess the inventory script itself comes from Ansible core)

I noticed that Ansible lists each cloud service as a "host".In azure speak, a cloud service is simply a vip, and a cloud service can thus contain multiple VM instances. This is a problem when the various hosts inside a cloud service need unique settings, such as different ssh/winrm ports or whatever.

A more logical approach would be to list the actual VM instances as hosts, but to use some grouping logic to enable targeting of vm instances inside a specific cloud service.

I thought I'd file an issue on this, but I want to be sure that this actually comes from Ansible core and is not specific to ansible Tower before I do so.



Reply all
Reply to author
Forward
0 new messages