rptaylor
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
contrib/terraform/terraform.py
|
|
@ -323,11 +323,11 @@ def openstack_host(resource, module_name): |
|
|
|
}) |
|
|
|
|
|
|
|
# add groups based on attrs |
|
|
|
groups.append('os_image=' + attrs['image']['id']) |
|
|
|
groups.append('os_flavor=' + attrs['flavor']['name']) |
|
|
|
groups.append('os_image=' + str(attrs['image']['id'])) |
|
|
|
groups.append('os_flavor=' + str(attrs['flavor']['name'])) |
|
|
|
groups.extend('os_metadata_%s=%s' % item |
|
|
|
for item in list(attrs['metadata'].items())) |
|
|
|
groups.append('os_region=' + attrs['region']) |
|
|
|
groups.append('os_region=' + str(attrs['region'])) |
|
|
|
|
|
|
|
# groups specific to kubespray |
|
|
|
for group in attrs['metadata'].get('kubespray_groups', "").split(","): |
|
|
|