File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
roles/telemetry_chargeback/tasks Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1919 -t "{{ cloudkitty_test_file }}"
2020 -o "{{ cloudkitty_data_file }}"
2121 {% if cloudkitty_project_id is defined and cloudkitty_project_id %} -p "{{ cloudkitty_project_id }}"{% endif %}
22+ #{% if cloudkitty_user_id is defined and cloudkitty_user_id %} -u "{{ cloudkitty_user_id }}"{% endif %} # for future use
2223 register : script_output
2324 when : not file_preexists.stat.exists | bool
2425 changed_when : script_output.rc == 0
Original file line number Diff line number Diff line change 1212
1313- name : " TEST Get Rate and Qty by type from CloudKitty {{ item }}"
1414 ansible.builtin.command :
15- cmd : " {{ openstack_cmd }} rating summary get -g res_type -f yaml"
15+ cmd : " {{ openstack_cmd }} rating summary get -g res_type -f yaml -b \" {{ synth_data_rates.time.begin_step.begin }} \" -e \" {{ synth_data_rates.time.end_step.end }} \" "
1616 register : cost_totals_by_type
1717 changed_when : true
1818 failed_when : cost_totals_by_type.rc != 0
3030
3131- name : " TEST Get Rate and Qty Summary from CloudKitty {{ item }}"
3232 ansible.builtin.command :
33- cmd : " {{ openstack_cmd }} rating summary get"
33+ cmd : " {{ openstack_cmd }} rating summary get -b \" {{ synth_data_rates.time.begin_step.begin }} \" -e \" {{ synth_data_rates.time.end_step.end }} \" "
3434 register : cost_totals_summary
3535 changed_when : true
3636 failed_when : cost_totals_summary.rc != 0
You can’t perform that action at this time.
0 commit comments