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
|
- name: Create role coprdev
|
||||||
shell: source /root/keystonerc_admin && keystone role-list |grep coprdev || keystone role-create --name coprdev
|
shell: source /root/keystonerc_admin && keystone role-list |grep coprdev || keystone role-create --name coprdev
|
||||||
- name: Assign users to coprdev as secondary tentant
|
- name: Assign users to coprdev as secondary tentant
|
||||||
keystone_user:
|
shell: source /root/keystonerc_admin && keystone user-role-list | grep coprdev || keystone user-role-add --user {{item}} --role coprdev --tenant coprdev || true
|
||||||
endpoint="https://{{controller_hostname}}:35357/v2.0"
|
#keystone_user:
|
||||||
login_user="admin" login_password="{{ ADMIN_PASS }}"
|
# endpoint="https://{{controller_hostname}}:35357/v2.0"
|
||||||
role=coprdev user={{ item }} tenant=coprdev
|
# login_user="admin" login_password="{{ ADMIN_PASS }}"
|
||||||
|
# role=coprdev user={{ item }} tenant=coprdev
|
||||||
with_items:
|
with_items:
|
||||||
- msuchy
|
- msuchy
|
||||||
- copr
|
- copr
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue