From a40df5f336359e0049bee411674fa7bdfcef0ad8 Mon Sep 17 00:00:00 2001 From: Matt Crees Date: Fri, 23 May 2025 12:54:37 +0100 Subject: [PATCH 1/2] Fix mapping flavors to a single project Fixes an issue where the flavor mapping loop failed when only a single project was passed in. --- roles/os_flavors/tasks/flavors.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/os_flavors/tasks/flavors.yml b/roles/os_flavors/tasks/flavors.yml index e50b9fc..b7d1765 100644 --- a/roles/os_flavors/tasks/flavors.yml +++ b/roles/os_flavors/tasks/flavors.yml @@ -27,5 +27,5 @@ name: "{{ item.0.name }}" state: "{{ item.0.state | default('present') }}" project: "{{ item.1 | default(omit) }}" - loop: "{{ lookup('subelements', os_flavors, 'project', {'skip_missing': True}) }}" + loop: "{{ lookup('subelements', os_flavors, 'project', {'skip_missing': True}, wantlist=True) }}" when: not item.0.is_public | bool From a562f657cdd069dd79bf639c32be1503b12932a9 Mon Sep 17 00:00:00 2001 From: Matt Crees Date: Fri, 23 May 2025 12:58:47 +0100 Subject: [PATCH 2/2] Publish 0.5.1 to ansible galaxy --- galaxy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/galaxy.yml b/galaxy.yml index e458b82..7e1a0b6 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,7 +1,7 @@ --- namespace: stackhpc name: openstack -version: 0.5.0 +version: 0.5.1 readme: README.md authors: - StackHPC Ltd