Browse Source

Create admin role in keystone

Change-Id: I30b0eebbf09a37f78182f13e426a5826064c4160
changes/17/444917/1
Sergey Reshetnyak 2 years ago
parent
commit
6024c6d218
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      service/keystone.yaml

+ 4
- 0
service/keystone.yaml View File

@@ -96,6 +96,10 @@ service:
96 96
           dependencies:
97 97
             - keystone-create-domain
98 98
           command: openstack project create --domain {{ service_account.domain }} {{ service_account.project }}
99
+        - name: keystone-create-admin-role
100
+          type: single
101
+          command: openstack role add {{ openstack.role_name }} --user {{ openstack.user_name }} --domain default
102
+
99 103
     # {% if keystone.tls.enabled %}
100 104
     - name: nginx-keystone
101 105
       image: nginx

Loading…
Cancel
Save