Fix _service_users for multi-domain deployments

Deployment can fail if an user with name defined in _service_users exists in more than 1 domain(Multiple matches found for <username>). To avoid these errors we need to explicitly define domain in _service_users

Change-Id: I55c5c8b9806188f246af9f2e89afe4a2d1b38b3c
This commit is contained in:
Damian Dabrowski 2021-06-04 12:15:43 +02:00
parent a4354f293a
commit f1e08dab1b

View File

@ -42,11 +42,13 @@
- name: "{{ heat_service_user_name }}"
role: "{{ heat_stack_owner_name }}"
project: "{{ heat_service_project_name }}"
domain: "{{ heat_service_user_domain_id }}"
# Any user creating stacks needs to have the 'heat_stack_owner' role assigned.
# We add to admin user here for testing purposes.
- name: "{{ keystone_admin_user_name }}"
role: "{{ heat_stack_owner_name }}"
project: "{{ heat_service_project_name }}"
domain: "{{ heat_service_user_domain_id }}"
- name: "{{ heat_stack_domain_admin }}"
password: "{{ heat_stack_domain_admin_password }}"
domain: "{{ heat_stack_user_domain_name }}"