From 0634643f21924a7e3e49b4302504918e490f1eae Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Wed, 25 Jun 2025 11:06:49 -0600 Subject: [PATCH] Fix AWS groups (#255) --- common/setup.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/common/setup.yml b/common/setup.yml index 3b7bf10..0c36c61 100644 --- a/common/setup.yml +++ b/common/setup.yml @@ -44,14 +44,13 @@ controller_inventory_sources: - tag:Name compose: ansible_host: public_ip_address - ansible_user: 'ec2-user' + ansible_user: ec2-user groups: cloud_aws: true - os_linux: tags.blueprint.startswith('rhel') - os_windows: tags.blueprint.startswith('win') + os_linux: "platform_details == 'Red Hat Enterprise Linux'" + os_windows: "platform_details == 'Windows'" + keyed_groups: - - key: platform - prefix: os - key: tags.blueprint prefix: blueprint - key: tags.owner @@ -62,6 +61,7 @@ controller_inventory_sources: prefix: deployment - key: tags.Compliance separator: '' + controller_groups: - name: cloud_aws inventory: Demo Inventory