Fix create Magnum trustee user role failed

when run creating Magnum trustee user role task, the
domain parameter must be domain id[0]. so kolla-ansible
need to register the result of Creating Magnum trustee
domain task, and use the domain id when creating
Magnum trustee user role.

[0]: https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/magnum/tasks/register.yml#L59

Co-Authored-By: ZhijunWei <wzj334965317@outlook.com>
Change-Id: I57cdd011b7fc863133f9e3b43ae783cd1486e644
Closes-Bug: #1766410
This commit is contained in:
caoyuan 2018-04-24 11:57:35 +08:00
parent 905de55cda
commit 87d1276a86

View File

@ -39,6 +39,7 @@
description: "Owns users and projects created by magnum"
auth: "{{ openstack_magnum_auth }}"
endpoint_type: "{{ openstack_interface }}"
register: trustee_domain
run_once: True
- name: Creating Magnum trustee user