summaryrefslogtreecommitdiffstats
path: root/roles/etcd_common/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/etcd_common/tasks')
-rw-r--r--roles/etcd_common/tasks/backup.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/etcd_common/tasks/backup.yml b/roles/etcd_common/tasks/backup.yml
index c1580640f..42d27c081 100644
--- a/roles/etcd_common/tasks/backup.yml
+++ b/roles/etcd_common/tasks/backup.yml
@@ -36,7 +36,7 @@
- name: Abort if insufficient disk space for etcd backup
fail:
msg: >
- {{ l_etcd_disk_usage.stdout }} Kb disk space required for etcd backup,
+ {{ l_etcd_disk_usage.stdout|int*2 }} Kb disk space required for etcd backup,
{{ l_avail_disk.stdout }} Kb available.
when: l_etcd_disk_usage.stdout|int*2 > l_avail_disk.stdout|int