Merge "Update user role assignments"
This commit is contained in:
commit
935a96b548
@ -107,15 +107,16 @@
|
|||||||
module_args:
|
module_args:
|
||||||
user: "{{ item.user }}"
|
user: "{{ item.user }}"
|
||||||
role: "{{ item.role }}"
|
role: "{{ item.role }}"
|
||||||
project: "{{ item.project }}"
|
project: "{{ item.project | default(omit) }}"
|
||||||
domain: "{{ service_ks_register_domain }}"
|
domain: "{{ item.domain | default(omit) }}"
|
||||||
|
system: "{{ item.system | default(omit) }}"
|
||||||
region_name: "{{ service_ks_register_region_name }}"
|
region_name: "{{ service_ks_register_region_name }}"
|
||||||
auth: "{{ service_ks_register_auth }}"
|
auth: "{{ service_ks_register_auth }}"
|
||||||
interface: "{{ service_ks_register_interface }}"
|
interface: "{{ service_ks_register_interface }}"
|
||||||
cacert: "{{ service_ks_cacert }}"
|
cacert: "{{ service_ks_cacert }}"
|
||||||
with_items: "{{ service_ks_register_users + service_ks_register_user_roles }}"
|
with_items: "{{ service_ks_register_users + service_ks_register_user_roles }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item.user }} -> {{ item.project }} -> {{ item.role }}"
|
label: "{{ item.user }} -> {{ item.project | default(item.domain) | default(item.system) }} -> {{ item.role }}"
|
||||||
register: service_ks_register_result
|
register: service_ks_register_result
|
||||||
until: service_ks_register_result is success
|
until: service_ks_register_result is success
|
||||||
retries: "{{ service_ks_register_retries }}"
|
retries: "{{ service_ks_register_retries }}"
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
User role assignments can now customise domain and system scopes.
|
Loading…
Reference in New Issue
Block a user