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
This commit is contained in:
Andrew Bonney 2024-10-28 14:12:21 +00:00
parent 199ed67d81
commit 953b1ac80f

View File

@ -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 }}"