瀏覽代碼

repair container_runtime_extra_storage var values

json value should not have quoting, the playbook fails otherwise
jirib 6 年之前
父節點
當前提交
419b77087f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      playbooks/ovirt/inventory.example

+ 2 - 2
playbooks/ovirt/inventory.example

@@ -27,10 +27,10 @@ container_runtime_docker_storage_type=overlay2
 openshift_node_local_quota_per_fsgroup=512Mi
 
 [masters:vars]
-container_runtime_extra_storage="[{'device': '/dev/vdc', 'path': '/var/lib/origin/openshift.local.volumes', 'options': 'gquota', 'filesystem': 'xfs', 'format': 'True'}, {'device': '/dev/vdd', 'path': '/var/lib/etcd', 'hosts': 'masters', 'filesystem': 'xfs', 'format': 'True'}]"
+container_runtime_extra_storage=[{'device': '/dev/vdc', 'path': '/var/lib/origin/openshift.local.volumes', 'options': 'gquota', 'filesystem': 'xfs', 'format': 'True'}, {'device': '/dev/vdd', 'path': '/var/lib/etcd', 'hosts': 'masters', 'filesystem': 'xfs', 'format': 'True'}]
 
 [nodes:vars]
-container_runtime_extra_storage="[{'device': '/dev/vdc', 'path': '/var/lib/origin/openshift.local.volumes', 'options': 'gquota', 'filesystem': 'xfs', 'format': 'True'}]"
+container_runtime_extra_storage=[{'device': '/dev/vdc', 'path': '/var/lib/origin/openshift.local.volumes', 'options': 'gquota', 'filesystem': 'xfs', 'format': 'True'}]
 
 [masters]
 master0.example.com