privileged execution while local connection loop not working

13 views
Skip to first unread message

John Scancella

unread,
Sep 13, 2016, 1:23:44 PM9/13/16
to Ansible Project
hello,

I believe that issue https://github.com/ansible/ansible/issues/13763 still isn't resolved as I am experiencing it currently.
I am using version 2.0.0.2

Here is an example script that will cause the same error message as in the issue above
---
- hosts: 127.0.0.1
  connection: local
  become: yes
  become_method: sudo
  tasks:
    - file: name=/tmp/tempFile.txt state=touch

    - name: test loops are broken
      copy: remote_src=yes dest={{ item.dest }} src={{ item.src }}
      with_items:
        - { dest: "/tmp/foo.txt", src: "/tmp/tempFile.txt" }
        - { dest: "/tmp/bar.txt", src: "/tmp/tempFile.txt" }

thanks
John

Matt Martz

unread,
Sep 13, 2016, 1:29:53 PM9/13/16
to ansible...@googlegroups.com
Based on that issue, and the corresponding commit that resolved the problem, the fix does not exist in 2.0.0.2.  It was first introduced for the 2.1 release.


You would need to upgrade to at least v2.1.0.0-1

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/8e6f898d-ce72-4294-a13d-f032462b8e13%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Matt Martz
@sivel
sivel.net

John Scancella

unread,
Sep 13, 2016, 1:37:52 PM9/13/16
to Ansible Project
Is there any chance that the comment can be updated then to reflect that it didn't actually make it into 2.0? If I had known it was actually in 2.1 I would have upgraded sooner
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages