From 953b1ac80ff0d613d7c6e3cb6d832af69ef79612 Mon Sep 17 00:00:00 2001 From: Andrew Bonney Date: Mon, 28 Oct 2024 14:12:21 +0000 Subject: [PATCH] federation: ensure cloud credentials are found on utility host During upgrade, we found that these tasks were asking for an auth_url, indicating the credentials could not be found. Fixing these tasks to match the ones above resolved this issue. Change-Id: Icfcc1ccf7970853f480a922c40a8e0f5b7bbe4f2 --- tasks/keystone_federation_sp_idp_setup.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tasks/keystone_federation_sp_idp_setup.yml b/tasks/keystone_federation_sp_idp_setup.yml index 22c0d0c7..4ab2efb5 100644 --- a/tasks/keystone_federation_sp_idp_setup.yml +++ b/tasks/keystone_federation_sp_idp_setup.yml @@ -100,6 +100,8 @@ - name: Ensure mapping for external IDP attributes exists openstack.cloud.federation_mapping: + cloud: default + state: present name: "{{ item.mapping.name }}" rules: "{{ item.mapping.rules }}" interface: admin @@ -110,6 +112,8 @@ - name: Ensure external IDP openstack.cloud.federation_idp: + cloud: default + state: present name: "{{ trusted_idp.name }}" remote_ids: "{{ trusted_idp.entity_ids }}" enabled: true @@ -121,6 +125,8 @@ - name: Ensure federation protocol exists openstack.cloud.keystone_federation_protocol: + cloud: default + state: present name: "{{ item.name }}" idp_name: "{{ trusted_idp.name }}" mapping_id: "{{ item.mapping.name }}"