yml:如何在不添加新行符号的情况下进行正确的中断

yml: how to make correct break without adding new line symbol

我有一段yml配置(ansible)

  - name: my task_
    include_tasks: other_tasks.yml
    with_items:
      - { par1: "/usr/bin/",
          par2: "/usr/bin/test/",
          par3: >-
                   my string which does not 
                   pass validation
                   
          par4: "/usr/",
          par5: "/bin"
         }

我试图在不添加新线符号的情况下换行 (par3),但它不会 工作

(<unknown>): found character that cannot start any token while scanning for the next token at line 6 column 26

所以,基本上我有一个长字符串,即

testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttest

我想打破它 "testtesttesttesttesttesttesttest" + "testtesttesttesttesttesttest"

中间没有任何换行符号,但就是行不通,为什么?

最后经过长时间的暴力破解我发现应该是这样的

  - name: my task_
    include_tasks: other_tasks.yml
    with_items:
      - { par1: "/usr/bin/",
          par2: "/usr/bin/test/",
          par3: "my string which does not\ 
          pass validation",  
          par4: "/usr/",
          par5: "/bin"
         }

注意\