this module does not work - it seems
This commit is contained in:
parent
bcf7aff6a5
commit
c98e9f9e9a
1 changed files with 5 additions and 4 deletions
|
@ -547,10 +547,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