Hi, Trying to create a dynamic inventory using hcloud plugin and have some issues. Hetzner servers might have user-defined labels and I'm trying to define servers into groups using labels.
As I can see my test server has labels: $ hcloud server list -o columns=name,status,labels NAME STATUS LABELS node1 running group=common Next using the following yml. plugin: hcloud groups: common: "'common' in labels" But ansible-inventory doesn't place host into defined group: $ ansible-inventory -i inventory_hcloud.yml --graph @all: |--@hcloud: | |--node1 |--@ungrouped: Even more, when I modify expression to 'labels is not defined', my host is placed into the group and I suspect that module loss labels. Is it a bug, or wrong yml? Any help appreciated. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/46f02231-cfe3-4e75-a761-a65807a582dd%40googlegroups.com.
