File tree Expand file tree Collapse file tree 5 files changed +23
-8
lines changed Expand file tree Collapse file tree 5 files changed +23
-8
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ - name : Generate OpenStack software ratings
3
+ hosts : controllers[0]
4
+ tags :
5
+ - ratings
6
+ roles :
7
+ - role : stackhpc.openstack.os_ratings
8
+ os_ratings_hashmap_field_mappings : " {{ ratings_hashmap_field_mappings }}"
9
+ os_ratings_hashmap_service_mappings : " {{ ratings_hashmap_service_mappings }}"
10
+ os_ratings_venv : " {{ ratings_venv }}"
11
+ os_ratings_upper_constraints_file : " {{ ratings_upper_constraints_file }}"
12
+ os_ratings_environment : " {{ ratings_environment }}"
Original file line number Diff line number Diff line change 6
6
- import_playbook : openstack-images.yml
7
7
- import_playbook : openstack-host-aggregates.yml
8
8
- import_playbook : openstack-container-clusters.yml
9
+ - import_playbook : openstack-ratings.yml
Original file line number Diff line number Diff line change 101
101
102
102
# Path to where a virtual environment directory will be created.
103
103
#
104
- # os_ratings_venv : /path/to/venv/directory
104
+ # ratings_venv : /path/to/venv/directory
105
105
106
106
# File path or URL containing Python upper constraints.
107
107
#
108
- # os_ratings_upper_constraints_file : /path/to/upper_constraints_file
108
+ # ratings_upper_constraints_file : /path/to/upper_constraints_file
109
109
110
110
# Environment variables for the OpenStack CLI. By default this is left empty.
111
111
#
112
- # os_ratings_environment :
112
+ # ratings_environment :
113
113
# - name: ENV_VAR_NAME
114
114
# value: ENV_VAR_VALUE
115
115
118
118
# Example of the mappings and their fields can be found below,
119
119
# however for more information please refer to the README.md file.
120
120
#
121
- # os_ratings_hashmap_field_mappings :
121
+ # ratings_hashmap_field_mappings :
122
122
# - service: SERVICE_NAME
123
123
# name: FIELD_NAME
124
124
# mappings:
130
130
# Much like the field mappings above, the service mappings are a list of
131
131
# dictionaries, however these are not associated with a field.
132
132
#
133
- # os_ratings_hashmap_service_mappings :
133
+ # ratings_hashmap_service_mappings :
134
134
# - service: SERVICE_NAME
135
135
# cost: MAPPING_COST
136
136
# group: MAPPING_GROUP
Original file line number Diff line number Diff line change 7
7
# a service mapping based on the stored image size in Glance.
8
8
9
9
- name : Ensure Cloudkitty ratings are registered
10
- hosts : controllers[0]
10
+ hosts : localhost
11
11
tasks :
12
12
- import_role :
13
13
name : stackhpc.openstack.os_ratings
Original file line number Diff line number Diff line change 2
2
collections :
3
3
- name : openstack.cloud
4
4
version : 2.1.0
5
- - name : stackhpc.openstack
6
- version : 0.1.1
5
+ - name : https://github.com/stackhpc/ansible-collection-openstack.git
6
+ version : cloudkitty
7
+ # - name: stackhpc.openstack
8
+ # version: 0.1.1
You can’t perform that action at this time.
0 commit comments