fix bug with iops setup

This commit is contained in:
a@a.ru 2019-04-03 14:36:45 +03:00
parent 9c1c776563
commit e34e739204
2 changed files with 3 additions and 1 deletions

View File

@ -16,6 +16,8 @@
template:
src: terraform.tfvars.j2
dest: roles/main_infra/files/terraform.tfvars
vars:
db_iops: "{{ chain_db_iops | default({}) }}"
- name: Generating backend file
template:

View File

@ -151,7 +151,7 @@ chain_db_storage_type = {
}
chain_db_iops = {
{% for key, value in chain_db_iops.iteritems() %}
{% for key, value in db_iops.iteritems() %}
{{ key }} = "{{ value }}"{% if not loop.last %},{% endif %}
{% endfor %}
}