copr: backend: keystonerc for copr user

This commit is contained in:
Pavel Raiskup 2019-08-12 17:12:03 +02:00 committed by Pierre-Yves Chibon
parent c31b3aa14e
commit 7e0ae4a83b
2 changed files with 5 additions and 2 deletions

View file

@ -80,6 +80,9 @@
template: src="keystonerc" dest=/root/ owner=root group=root mode=600 template: src="keystonerc" dest=/root/ owner=root group=root mode=600
when: not devel when: not devel
- name: copy keystonerc for copr
template: src="keystonerc" dest=/home/copr/cloud/keystonerc_proper_tenant owner=copr group=copr mode=600
- name: copy .boto file - name: copy .boto file
copy: src="boto" dest=/home/copr/.boto owner=copr group=copr copy: src="boto" dest=/home/copr/.boto owner=copr group=copr

View file

@ -13,11 +13,11 @@ export OS_AUTH_URL=http://172.23.0.2:5000/v2.0
# as the entity that owns the resources. # as the entity that owns the resources.
export OS_TENANT_ID={{ copr_tenant_id }} export OS_TENANT_ID={{ copr_tenant_id }}
export OS_TENANT_NAME="copr" export OS_TENANT_NAME={{ copr_tenant_name }}
# In addition to the owning entity (tenant), openstack stores the entity # In addition to the owning entity (tenant), openstack stores the entity
# performing the action as the **user**. # performing the action as the **user**.
export OS_USERNAME=msuchy export OS_USERNAME=copr
# With Keystone you pass the keystone password. # With Keystone you pass the keystone password.
export OS_PASSWORD={{ copr_nova_password }} export OS_PASSWORD={{ copr_nova_password }}