summaryrefslogtreecommitdiffstats
path: root/roles/flannel_register
diff options
context:
space:
mode:
authorEduardo Minguez <edu@redhat.com>2017-09-21 15:22:29 +0200
committerEduardo Minguez <edu@redhat.com>2017-09-21 15:22:29 +0200
commitfdc61b82abc9ee4ccd70b234951e6bfe14ee983f (patch)
tree06f1cc48eced880a97374ab50390b2a66c8941c5 /roles/flannel_register
parentd9e8acafba7f4370145912732f0e305f57d617d8 (diff)
downloadopenshift-fdc61b82abc9ee4ccd70b234951e6bfe14ee983f.tar.gz
openshift-fdc61b82abc9ee4ccd70b234951e6bfe14ee983f.tar.bz2
openshift-fdc61b82abc9ee4ccd70b234951e6bfe14ee983f.tar.xz
openshift-fdc61b82abc9ee4ccd70b234951e6bfe14ee983f.zip
Fixed AnsibleUnsafeText by converting to int
Diffstat (limited to 'roles/flannel_register')
-rw-r--r--roles/flannel_register/defaults/main.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/flannel_register/defaults/main.yaml b/roles/flannel_register/defaults/main.yaml
index 71c8f38c3..1d0f5df6a 100644
--- a/roles/flannel_register/defaults/main.yaml
+++ b/roles/flannel_register/defaults/main.yaml
@@ -1,6 +1,6 @@
---
flannel_network: "{{ openshift.master.sdn_cluster_network_cidr }}"
-flannel_subnet_len: "{{ 32 - openshift.master.sdn_host_subnet_length }}"
+flannel_subnet_len: "{{ 32 - (openshift.master.sdn_host_subnet_length | int) }}"
flannel_etcd_key: /openshift.com/network
etcd_hosts: "{{ etcd_urls }}"
etcd_conf_dir: "{{ openshift.common.config_base }}/master"