title: How to comment multiple of line by anisble playbook
body: <p>I can comment one line by ansible playbook with</p>
  
  <pre><code>- name: Comment out a line
    replace:
      dest: /etc/nova/nova.conf
      regexp: '^connection = sqlite:////var/lib/nova/nova.sqlite'
      replace: '#connection = sqlite:////var/lib/nova/nova.sqlite'
    tags: update-nova.conf
  </code></pre>
  
  <p>Is this solution ok? Is there a better way?</p>
  
  <p>But if I want to comment multiple of line what should I do?</p>