Merge "Fix RoleParameters in tuned-baremetal-ansible.yaml" into stable/victoria
This commit is contained in:
commit
26d1fb2cb9
|
@ -48,6 +48,21 @@ parameters:
|
|||
tags:
|
||||
- role_specific
|
||||
|
||||
resources:
|
||||
RoleParametersValue:
|
||||
type: OS::Heat::Value
|
||||
properties:
|
||||
type: json
|
||||
value:
|
||||
map_replace:
|
||||
- map_replace:
|
||||
- tuned_profile: TunedProfileName
|
||||
tuned_custom_profile: TunedCustomProfile
|
||||
- values: {get_param: [RoleParameters]}
|
||||
- values:
|
||||
TunedProfileName: {get_param: TunedProfileName}
|
||||
TunedCustomProfile: {get_param: TunedCustomProfile}
|
||||
|
||||
outputs:
|
||||
role_data:
|
||||
description: Role data for tuned
|
||||
|
@ -57,5 +72,5 @@ outputs:
|
|||
- include_role:
|
||||
name: tuned
|
||||
ansible_group_vars:
|
||||
tuned_profile: {get_param: TunedProfileName}
|
||||
tuned_custom_profile: {get_param: TunedCustomProfile}
|
||||
tuned_profile: {get_attr: [RoleParametersValue, value, tuned_profile]}
|
||||
tuned_custom_profile: {get_attr: [RoleParametersValue, value, tuned_custom_profile]}
|
||||
|
|
Loading…
Reference in New Issue