File tree Expand file tree Collapse file tree 3 files changed +34
-0
lines changed
Expand file tree Collapse file tree 3 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ - name : Ensure OpenStack volume types exist
3+ hosts : localhost
4+ tags :
5+ - volume-types
6+ roles :
7+ - role : stackhpc.openstack.os_volumes
8+ os_volumes_venv : " {{ openstack_venv }}"
9+ os_volumes_auth_type : " {{ openstack_auth_type }}"
10+ os_volumes_auth : " {{ openstack_auth }}"
11+ os_volumes_cacert : " {{ openstack_cacert }}"
12+ os_volumes_types : " {{ openstack_volumes_types }}"
Original file line number Diff line number Diff line change 55- import_playbook : openstack-flavors.yml
66- import_playbook : openstack-images.yml
77- import_playbook : openstack-host-aggregates.yml
8+ - import_playbook : openstack-volume-types.yml
89- import_playbook : openstack-container-clusters.yml
910- import_playbook : openstack-ratings.yml
Original file line number Diff line number Diff line change 1+ ---
2+ # ##############################################################################
3+ # Configuration of volume types for openstack.
4+
5+ # List of volume types. Format is as required by the stackhpc.os-volumes role.
6+ openstack_volumes_types :
7+ - " {{ openstack_volume_type_ceph_hdd }}"
8+ - " {{ openstack_volume_type_ceph_ssd }}"
9+
10+ # Volume types
11+ openstack_volume_type_ceph_hdd :
12+ name : " ceph-hdd"
13+ description : " Ceph HDD pool"
14+ extra_specs :
15+ volume_backend_name : " replicated-hdd"
16+
17+ openstack_volume_type_ceph_ssd :
18+ name : " ceph-ssd"
19+ description : " Ceph SSD pool"
20+ extra_specs :
21+ volume_backend_name : " replicated-ssd"
You can’t perform that action at this time.
0 commit comments