Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/kubernetes/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
将JSON文本分配给Ansible中的字符串字段_Json_Kubernetes_Ansible_Yaml_Configmap - Fatal编程技术网

将JSON文本分配给Ansible中的字符串字段

将JSON文本分配给Ansible中的字符串字段,json,kubernetes,ansible,yaml,configmap,Json,Kubernetes,Ansible,Yaml,Configmap,我正在使用Ansible和Kubernetes应用yaml文件/配置映射 我想将特定字段的值设置为字符串。字符串将是JSON文本,与yaml/config映射的结构无关 我可以这样做: - name: Change a field in the ConfigMap (this will be a PATCH request) k8s: definition: apiVersion: v1 kind: ConfigMap metadata:

我正在使用Ansible和Kubernetes应用yaml文件/配置映射

我想将特定字段的值设置为字符串。字符串将是JSON文本,与yaml/config映射的结构无关

我可以这样做:

- name: Change a field in the ConfigMap (this will be a PATCH request)
  k8s:
    definition:
      apiVersion: v1
      kind: ConfigMap
      metadata:
        name: "test"
        namespace: test
      data:
        hello: '[{"name":"John", "age":31, "city":"New York"}]'
这适用于单引号

如果使用双引号,则不起作用。“加载YAML时出现语法错误。”。我猜它是在试图用双引号解析JSON的内容

问题出在这里。我想使用一个包含JSON字符串的变量,并做同样的事情

假设我这样做:

- name: Set a name variable for this example
  set_fact:
    var: '[{"name":"John", "age":31, "city":"New York"}]'

- name: Change a field in the ConfigMap (this will be a PATCH request)
  k8s:
    definition:
      apiVersion: v1
      kind: ConfigMap
      metadata:
        name: "test"
        namespace: test
      data:
        hello: '{{ var }}'
无论我使用单引号还是双引号,这都会爆炸

fatal: [localhost]: FAILED! => {"changed": false, "error": 422, "msg": "Failed to patch object: b'{\"kind\":\"Status\",\"apiVersion\":\"v1\",\"metadata\":{},\"status\":\"Failure\",\"message\":\" \\\\\"\\\\\" is invalid: patch: Invalid value: \\\\\"{\\\\\\\\\\\\\"apiVersion\\\\\\\\\\\\\":\\\\\\\\\\\\\"v1\\\\\\\\\\\\\",\\\\\\\\\\\\\"data\\\\\\\\\\\\\":{\\\\\\\\\\\\\"extensions\\\\\\\\\\\\\":\\\\\\\\\\\\\"[{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"extension_point_id\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"service_instance_details\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"extension_name\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"custom_instance_details\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"match_instance_id\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"532\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"details\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"custom_sections\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"section_key\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"nodessection\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Configuration\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"rows\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"label\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Number of nodes\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"test\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"label\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Cores per node\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"test\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"label\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Memory (GiB) per node\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"test\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"}]},{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"section_key\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"storagesection\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"title\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Storage\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\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\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"}}]}]}]}}]\\\\\\\\\\\\\",\\\\\\\\\\\\\"hello\\\\\\\\\\\\\":[{\\\\\\\\\\\\\"age\\\\\\\\\\\\\":31,\\\\\\\\\\\\\"city\\\\\\\\\\\\\":\\\\\\\\\\\\\"New York\\\\\\\\\\\\\",\\\\\\\\\\\\\"name\\\\\\\\\\\\\":\\\\\\\\\\\\\"John\\\\\\\\\\\\\"}]},\\\\\\\\\\\\\"kind\\\\\\\\\\\\\":\\\\\\\\\\\\\"ConfigMap\\\\\\\\\\\\\",\\\\\\\\\\\\\"metadata\\\\\\\\\\\\\":{\\\\\\\\\\\\\"annotations\\\\\\\\\\\\\":{\\\\\\\\\\\\\"kubectl.kubernetes.io/last-applied-configuration\\\\\\\\\\\\\":\\\\\\\\\\\\\"{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"apiVersion\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"v1\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"data\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"extensions\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n  \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"extension_point_id\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"service_instance_details\\\\\\\\\\\\\\\\\\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\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\": {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n                   \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"url\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n                   \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"href_url\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n                   \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"href_target\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n                  }\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n                }\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n               ]\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n            },\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n            { \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"label\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Password\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n              \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"test\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n              \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"actions\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\": [\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n                {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n                   \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"id\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"showpassword\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n                   \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"show\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n                },\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n                {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n                   \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"id\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"copypassword\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n                   \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"copy\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n                }\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n               ]\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n            },\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n            { \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"label\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Replica set connection\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n               \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"jdbc:ibm\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n               \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"actions\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\": [\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n               {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n                \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"id\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\\\\\\\\\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\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"on_click\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\": {\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n                  \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"url\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n                  \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"href_url\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n                  \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"href_target\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n                }\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n              }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\\\\\\\\\\\\\\\\\\\"}}\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\"},\\\\\\\\\\\\\"creationTimestamp\\\\\\\\\\\\\":\\\\\\\\\\\\\"2021-04-28T02:46:43Z\\\\\\\\\\\\\",\\\\\\\\\\\\\"labels\\\\\\\\\\\\\":{\\\\\\\\\\\\\"icpdata_addon\\\\\\\\\\\\\":\\\\\\\\\\\\\"true\\\\\\\\\\\\\"},\\\\\\\\\\\\\"managedFields\\\\\\\\\\\\\":[{\\\\\\\\\\\\\"manager\\\\\\\\\\\\\":\\\\\\\\\\\\\"oc\\\\\\\\\\\\\",\\\\\\\\\\\\\"operation\\\\\\\\\\\\\":\\\\\\\\\\\\\"Update\\\\\\\\\\\\\",\\\\\\\\\\\\\"apiVersion\\\\\\\\\\\\\":\\\\\\\\\\\\\"v1\\\\\\\\\\\\\",\\\\\\\\\\\\\"time\\\\\\\\\\\\\":\\\\\\\\\\\\\"2021-04-28T15:44:10Z\\\\\\\\\\\\\",\\\\\\\\\\\\\"fieldsType\\\\\\\\\\\\\":\\\\\\\\\\\\\"FieldsV1\\\\\\\\\\\\\",\\\\\\\\\\\\\"fieldsV1\\\\\\\\\\\\\":{\\\\\\\\\\\\\"f:metadata\\\\\\\\\\\\\":{\\\\\\\\\\\\\"f:annotations\\\\\\\\\\\\\":{\\\\\\\\\\\\\".\\\\\\\\\\\\\":{},\\\\\\\\\\\\\"f:kubectl.kubernetes.io/last-applied-configuration\\\\\\\\\\\\\":{}},\\\\\\\\\\\\\"f:labels\\\\\\\\\\\\\":{\\\\\\\\\\\\\".\\\\\\\\\\\\\":{},\\\\\\\\\\\\\"f:icpdata_addon\\\\\\\\\\\\\":{}}}}},{\\\\\\\\\\\\\"manager\\\\\\\\\\\\\":\\\\\\\\\\\\\"kubectl\\\\\\\\\\\\\",\\\\\\\\\\\\\"operation\\\\\\\\\\\\\":\\\\\\\\\\\\\"Update\\\\\\\\\\\\\",\\\\\\\\\\\\\"apiVersion\\\\\\\\\\\\\":\\\\\\\\\\\\\"v1\\\\\\\\\\\\\",\\\\\\\\\\\\\"time\\\\\\\\\\\\\":\\\\\\\\\\\\\"2021-04-28T16:14:58Z\\\\\\\\\\\\\",\\\\\\\\\\\\\"fieldsType\\\\\\\\\\\\\":\\\\\\\\\\\\\"FieldsV1\\\\\\\\\\\\\",\\\\\\\\\\\\\"fieldsV1\\\\\\\\\\\\\":{\\\\\\\\\\\\\"f:data\\\\\\\\\\\\\":{\\\\\\\\\\\\\".\\\\\\\\\\\\\":{},\\\\\\\\\\\\\"f:extensions\\\\\\\\\\\\\":{}}}},{\\\\\\\\\\\\\"manager\\\\\\\\\\\\\":\\\\\\\\\\\\\"OpenAPI-Generator\\\\\\\\\\\\\",\\\\\\\\\\\\\"operation\\\\\\\\\\\\\":\\\\\\\\\\\\\"Update\\\\\\\\\\\\\",\\\\\\\\\\\\\"apiVersion\\\\\\\\\\\\\":\\\\\\\\\\\\\"v1\\\\\\\\\\\\\",\\\\\\\\\\\\\"time\\\\\\\\\\\\\":\\\\\\\\\\\\\"2021-04-28T16:25:35Z\\\\\\\\\\\\\",\\\\\\\\\\\\\"fieldsType\\\\\\\\\\\\\":\\\\\\\\\\\\\"FieldsV1\\\\\\\\\\\\\",\\\\\\\\\\\\\"fieldsV1\\\\\\\\\\\\\":{\\\\\\\\\\\\\"f:data\\\\\\\\\\\\\":{\\\\\\\\\\\\\"f:hello\\\\\\\\\\\\\":{}}}}],\\\\\\\\\\\\\"name\\\\\\\\\\\\\":\\\\\\\\\\\\\"test-details\\\\\\\\\\\\\",\\\\\\\\\\\\\"namespace\\\\\\\\\\\\\":\\\\\\\\\\\\\"prasa\\\\\\\\\\\\\",\\\\\\\\\\\\\"resourceVersion\\\\\\\\\\\\\":\\\\\\\\\\\\\"434431\\\\\\\\\\\\\",\\\\\\\\\\\\\"uid\\\\\\\\\\\\\":\\\\\\\\\\\\\"c5ea7b6a-94b0-40b7-b171-dc9fcc23e0f2\\\\\\\\\\\\\"}}\\\\\": v1.ConfigMap.Data: ReadString: expects \\\\\" or n, but found [, error found in #10 byte of ...|,\\\\\"hello\\\\\":[{\\\\\"age\\\\\":31,|..., bigger context ...|l\\\\\\\\\\\\\":\\\\\\\\\\\\\"\\\\\\\\\\\\\",\\\\\\\\\\\\\"href_target\\\\\\\\\\\\\":\\\\\\\\\\\\\"\\\\\\\\\\\\\"}}]}]}]}}]\\\\\",\\\\\"hello\\\\\":[{\\\\\"age\\\\\":31,\\\\\"city\\\\\":\\\\\"New York\\\\\",\\\\\"name\\\\\":\\\\\"John\\\\\"}]},\\\\\"kind|...\",\"field\":\"patch\"}]},\"code\":422}\\n'", "reason": "Unprocessable Entity", "status": 422}


你知道怎么做吗?

我试过了,你的代码对我很有用。您需要使用单引号,因为单代码用作分隔符。在字符串中,不能再次使用单引号,这意味着已到达字符串结尾。双引号也一样。如果将它们用作分隔符,则在字符串中不能再次使用(或者需要使用
\“

另一种选择是:不使用
var
中的字符串,只需创建一个字典并将其插入即可

- name: Set a name variable for this example
  set_fact:
    var:
      - name: "John"
        age: 31
        city: "New York"

- name: "Change a field in the ConfigMap (this will be a PATCH request)"
  k8s:
    definition:
      apiVersion: v1
      kind: ConfigMap
      metadata:
        name: "test"
        namespace: test
      data:
        hello: "{{ var }}"

如果使用双引号,则不起作用>如果您在值内转义双引号,则会发生。无论如何,错误消息不完整,请编辑问题以显示完整的错误消息。好的,我更新了错误。在Ansible中转义引号的最佳方法是什么?嗯,错误消息似乎与您的cod不一致e、 从反斜杠的数量来看,这显然是一个逃逸问题。我建议尝试
{var|to_yaml}}
(不带单引号),因为当
var
是一个字符串时,它将正确地引用它作为值包含在yaml中。