add users to coprdev as secondary tenant
This commit is contained in:
parent
611b6440db
commit
6a68622f82
1 changed files with 5 additions and 1 deletions
|
@ -544,7 +544,11 @@
|
|||
- { name: msuchy, email: 'msuchy@redhat.com', tenant: copr, password: "{{msuchy_password}}", public_key: "{{ lookup('pipe', '/srv/web/infra/ansible/scripts/auth-keys-from-fas msuchy') }}" }
|
||||
- { name: red, email: 'red@fedoraproject.org', tenant: infrastructure, password: "{{red_password}}", public_key: "{{ lookup('pipe', '/srv/web/infra/ansible/scripts/auth-keys-from-fas red') }}" }
|
||||
|
||||
#- shell: source /root/keystonerc_admin && F=$(mktemp) && {{ lookup('pipe', '/srv/web/infra/ansible/scripts/auth-keys-from-fas msuchy') }}> "$F" && nova --os-username msuchy --os-password {{msuchy_password}} --os-tenant-name copr keypair-list | ( grep msuchy || nova --os-username msuchy --os-password {{msuchy_password}} --os-tenant-name copr keypair-add --pub_key "$F" msuchy ); rm -f "$F"
|
||||
- name: Assign users to coprdev as secondary tentant
|
||||
- keystone_user: role=coprdev user={{ item }} tenant=coprdev
|
||||
with_items:
|
||||
- msuchy
|
||||
- copr
|
||||
|
||||
##### NETWORK ####
|
||||
# http://docs.openstack.org/havana/install-guide/install/apt/content/install-neutron.configure-networks.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue