title: How to break long values in yaml file?
body: <p>I have yaml file from an ansible role, when I run yamllinst, it output as follows:</p>
  <blockquote>
  <p>22:81     error    line too long (81 &gt; 80 characters)  (line-length)
  29:81     error    line too long (109 &gt; 80 characters)  (line-length)</p>
  </blockquote>
  <p>This is part of the file (I've commented the lines that has errors, that comments are no real part of the file)</p>
  <pre><code>- name: Check that all the variables needed are defined
    assert:
      that:
        - kimai_version is defined
        - kimai_app_env is defined
        - kimai_user is defined
        - kimai_group is defined
        - kimai_home is defined
        - kimai_private is defined
        - ( kimai_docroot is defined ) and ( kimai_docroot | basename == &quot;public&quot; ) # Line 29
        - kimai_dbuser is defined
        - kimai_dbpass is defined
        - kimai_dbhost is defined
        - kimai_dbport is defined
        - kimai_dbname is defined
        - kimai_notify_from is defined
        - ( kimai_email_transport is defined ) and ( kimai_email_transport is regex(&quot;^smtp|sendmail|gmail|$&quot;) ) # Line 29
        - kimai_email_host is defined
        - kimai_email_port is defined
        - kimai_user_registration is defined
  </code></pre>
  <p>The question <a href="https://stackoverflow.com/questions/3790454/how-do-i-break-a-string-in-yaml-over-multiple-lines">How do I break a string in YAML over multiple lines?</a> is a bit different because in that case, the key has only one value.</p>
  <p>How can I break the 22 and 29th lines to shorten them?</p>