Revert "Revert "this module does not work - it seems""
This reverts commit 1d23775961
.
This commit is contained in:
parent
f5509ed401
commit
310bde1ec5
1 changed files with 5 additions and 4 deletions
|
@ -548,10 +548,11 @@
|
|||
- name: Create role coprdev
|
||||
shell: source /root/keystonerc_admin && keystone role-list |grep coprdev || keystone role-create --name coprdev
|
||||
- name: Assign users to coprdev as secondary tentant
|
||||
keystone_user:
|
||||
endpoint="https://{{controller_hostname}}:35357/v2.0"
|
||||
login_user="admin" login_password="{{ ADMIN_PASS }}"
|
||||
role=coprdev user={{ item }} tenant=coprdev
|
||||
shell: source /root/keystonerc_admin && keystone user-role-list | grep coprdev || keystone user-role-add --user {{item}} --role coprdev --tenant coprdev || true
|
||||
#keystone_user:
|
||||
# endpoint="https://{{controller_hostname}}:35357/v2.0"
|
||||
# login_user="admin" login_password="{{ ADMIN_PASS }}"
|
||||
# role=coprdev user={{ item }} tenant=coprdev
|
||||
with_items:
|
||||
- msuchy
|
||||
- copr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue