Merge "magnum domain register error at setting domain id"
This commit is contained in:
commit
0883d34d4a
@ -42,12 +42,9 @@
|
|||||||
auth: "{{ '{{ openstack_magnum_auth }}' }}"
|
auth: "{{ '{{ openstack_magnum_auth }}' }}"
|
||||||
module_extra_vars:
|
module_extra_vars:
|
||||||
openstack_magnum_auth: "{{ openstack_magnum_auth }}"
|
openstack_magnum_auth: "{{ openstack_magnum_auth }}"
|
||||||
|
register: trustee_domain
|
||||||
run_once: True
|
run_once: True
|
||||||
|
|
||||||
- name: Setting Magnum trustee domain value
|
|
||||||
set_fact:
|
|
||||||
magnum_trustee_domain_id: "{{ trustee_domain.id }}"
|
|
||||||
|
|
||||||
- name: Creating Magnum trustee user
|
- name: Creating Magnum trustee user
|
||||||
kolla_toolbox:
|
kolla_toolbox:
|
||||||
module_name: "os_user"
|
module_name: "os_user"
|
||||||
@ -64,7 +61,7 @@
|
|||||||
kolla_toolbox:
|
kolla_toolbox:
|
||||||
module_name: "os_user_role"
|
module_name: "os_user_role"
|
||||||
module_args:
|
module_args:
|
||||||
domain: "{{ magnum_trustee_domain_id }}"
|
domain: "{{ trustee_domain.id }}"
|
||||||
user: "{{ magnum_trustee_domain_admin }}"
|
user: "{{ magnum_trustee_domain_admin }}"
|
||||||
role: "admin"
|
role: "admin"
|
||||||
auth: "{{ '{{ openstack_magnum_auth }}' }}"
|
auth: "{{ '{{ openstack_magnum_auth }}' }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user