aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/create_storperf_admin_rc/templates
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/create_storperf_admin_rc/templates')
-rw-r--r--ansible/roles/create_storperf_admin_rc/templates/storperf_admin-rc.j27
1 files changed, 7 insertions, 0 deletions
diff --git a/ansible/roles/create_storperf_admin_rc/templates/storperf_admin-rc.j2 b/ansible/roles/create_storperf_admin_rc/templates/storperf_admin-rc.j2
new file mode 100644
index 000000000..410ab24df
--- /dev/null
+++ b/ansible/roles/create_storperf_admin_rc/templates/storperf_admin-rc.j2
@@ -0,0 +1,7 @@
+OS_AUTH_URL="{{ openrc.OS_AUTH_URL }}"
+OS_USERNAME="{{ openrc.OS_USERNAME|default('admin') }}"
+OS_PASSWORD="{{ openrc.OS_PASSWORD|default('console') }}"
+OS_TENANT_NAME="{{ openrc.OS_TENANT_NAME|default('admin') }}"
+OS_VOLUME_API_VERSION="{{ openrc.OS_VOLUME_API_VERSION|default('2') }}"
+OS_PROJECT_NAME="{{ openrc.OS_PROJECT_NAME|default(openrc.OS_TENANT_NAME) }}"
+OS_TENANT_ID="{{ os_tenant_id }}"