瀏覽代碼

Fixed AnsibleUnsafeText by converting to int

Eduardo Minguez 7 年之前
父節點
當前提交
fdc61b82ab
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      roles/flannel_register/defaults/main.yaml

+ 1 - 1
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"