Hi guys,
I use dynamic inventory azure_rm and I have a problem with exluce_host_filters.
Some vms starts with xyz… and has tags. I need to filter the VMs starts with xyz but not has tags firewall and not working.
exclude_host_filters:
- location not in [‘eastus2’]
- “‘xyz’ not in name”
- “‘firewall’ in tags.product”
Other question,
Is possible create inventory children in dynamic inventory, example?
conditional_groups:
vms:
- dev: “name.startswith(‘xyz_dev’)”
- win: “‘windows’ in os_disk.operating_system_type”
- lnx: os_disk.operating_system_type == ‘linux’