title: [ansible-playbook]specified line no longer in file, maybe it changed?
body: <p>I have an ansible-playbook and when i try to run this playbook i am getting this error
  (specified line no longer in file, maybe it changed?)</p>
  
  <pre><code>--
  - name: check if the public/private key exist at ~/.ssh/
    stat:
      path: /root/.ssh/id_rsa.pub
    register: st
  
  - name: run the command
    command: cat /root/.ssh/id_rsa.pub|ssh -i /root/.ssh/bi_ppc.pem ubuntu@"{{items}" "cat &gt;&gt; .ssh/authorized_keys"
    with_items:
      - groups['ubuntu']
    when: st.changed
  ~     
  </code></pre>
  
  <p>ansible --version</p>
  
  <pre><code>ansible 2.2.0.0
    config file = /home/swathi/Desktop/infrastructure/ansible.cfg
    configured module search path = Default w/o overrides
  </code></pre>