diff --git a/ansible/roles/blazar/tasks/bootstrap.yml b/ansible/roles/blazar/tasks/bootstrap.yml index b3dd1a3296..acb7880b5f 100644 --- a/ansible/roles/blazar/tasks/bootstrap.yml +++ b/ansible/roles/blazar/tasks/bootstrap.yml @@ -40,13 +40,13 @@ command: > docker exec kolla_toolbox openstack --os-interface internal - --os-auth-url {{ keystone_admin_url }} + --os-auth-url {{ openstack_auth.auth_url }} --os-identity-api-version 3 - --os-project-domain-name default - --os-tenant-name admin - --os-username admin - --os-password {{ keystone_admin_password }} - --os-user-domain-name default + --os-project-domain-name {{ openstack_auth.domain_name }} + --os-project-name {{ openstack_auth.project_name }} + --os-username {{ openstack_auth.username }} + --os-password {{ openstack_auth.password }} + --os-user-domain-name {{ openstack_auth.user_domain_name }} --os-region-name {{ openstack_region_name }} {% if openstack_cacert != '' %}--os-cacert {{ openstack_cacert }}{% endif %} aggregate create {{ blazar_aggregate_pool_name }}