Commit 1dc99ec 1 parent 9932fe6 commit 1dc99ec Copy full SHA for 1dc99ec
File tree 1 file changed +3
-3
lines changed
playbooks/delius_oem_metrics_setup/delius_oem_metrics_setup/tasks
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 69
69
echo "Setting scheduler state for {{ item.1.target_type }} {{ item.0.target_name }} {{ item.1.collection_name }}"
70
70
{{ emcli }} modify_collection_schedule -targetNames={{ item.0.target_name }} -targetType={{ item.1.target_type }} \
71
71
-collectionName={{ item.1.collection_name }} \
72
- ' -collectionStatus=' + item.1.collection_attribute_value \
72
+ -collectionStatus={{ item.1.collection_attribute_value }} \
73
73
-preview=N -force
74
74
loop : " {{ oem_targets | product(( all_oem_metrics | flatten_emcli_metrics('schedule') ) + ( host_oem_metrics | flatten_emcli_metrics('schedule') )) }}"
75
75
when :
92
92
echo "Setting scheduler frequency for {{ item.1.target_type }} {{ item.0.target_name }} {{ item.1.collection_name }}"
93
93
{{ emcli }} modify_collection_schedule -targetNames={{ item.0.target_name }} -targetType={{ item.1.target_type }} \
94
94
-collectionName={{ item.1.collection_name }} \
95
- -freqType=' + item.1.collection_attribute_value.split(' ')[1] \
96
- -freqValue=' + item.1.collection_attribute_value.split(' ')[0] \
95
+ -freqType={{ item.1.collection_attribute_value.split(' ')[1] }} \
96
+ -freqValue={{ item.1.collection_attribute_value.split(' ')[0] }} \
97
97
-preview=N -force
98
98
loop : " {{ oem_targets | product(( all_oem_metrics | flatten_emcli_metrics('schedule') ) + ( host_oem_metrics | flatten_emcli_metrics('schedule') )) }}"
99
99
when :
You can’t perform that action at this time.
0 commit comments