summaryrefslogtreecommitdiffstats
path: root/roles/etcd_common/tasks
diff options
context:
space:
mode:
authorJan Chaloupka <jchaloup@redhat.com>2017-09-19 10:27:55 +0200
committerJan Chaloupka <jchaloup@redhat.com>2017-09-19 10:36:20 +0200
commit399a45cceed4e2941923ecd5ebf3f9b61ae4a8fe (patch)
tree6bf43e3c0b0a43d6da26380e616f0c79d81a59d5 /roles/etcd_common/tasks
parenta70aa12dfac9367d696a9c4f9f7883db35399b71 (diff)
downloadopenshift-399a45cceed4e2941923ecd5ebf3f9b61ae4a8fe.tar.gz
openshift-399a45cceed4e2941923ecd5ebf3f9b61ae4a8fe.tar.bz2
openshift-399a45cceed4e2941923ecd5ebf3f9b61ae4a8fe.tar.xz
openshift-399a45cceed4e2941923ecd5ebf3f9b61ae4a8fe.zip
fix etcd back message error
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