forked from scicore-unibas-ch/ansible-role-slurm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclouds.yaml.j2
executable file
·18 lines (18 loc) · 1.08 KB
/
clouds.yaml.j2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# This is a clouds.yaml file, which can be used by OpenStack tools as a source
# of configuration on how to connect to a cloud. If this is your only cloud,
# just put this file in ~/.config/openstack/clouds.yaml and tools like
# python-openstackclient will just work with no further config. (You will need
# to add your password to the auth section)
# If you have more than one cloud account, add the cloud entry to the clouds
# section of your existing file and you can refer to them by name with
# OS_CLOUD=openstack or --os-cloud=openstack
clouds:
openstack:
auth:
auth_url: {{ slurm_openstack_auth_url }}
application_credential_id: "{{ slurm_openstack_application_credential_id }}"
application_credential_secret: "{{ slurm_openstack_application_credential_secret }}"
region_name: "{{ slurm_openstack_region_name | default('RegionOne') }}"
interface: "{{ slurm_openstack_interface | default('public') }}"
identity_api_version: {{ slurm_openstack_identity_api_version | default('3') }}
auth_type: "{{ slurm_openstack_auth_type | default('v3applicationcredential') }}"