On Tue, 28 May 2019 at 20:29, Dick Visser <[email protected]> wrote:
>
> What does your task:playbook exactly look like?

I've played around and the problem is with setting files ownerships. I
created simple example (see below) and attached test.zip example. If
we remove 2 last lines task will be idempotence.

Wawrzek

---
- hosts: localhost,
  become: true
  tasks:
    - name: unarchive
      unarchive:
        src: /tmp/test.zip
        dest: output
        mode: 0700
        remote_src: true
        owner: wawrzek2
        group: admin



-- 
Dr  Wawrzyniec NiewodniczaƄski    or Wawrzek for short
  PhD in Quantum Chemistry  & MSc in Molecular Engineering
   WWW: http://wawrzek.name E-MAIL: [email protected]
      Linux User #177124

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAC7-vpCzmm2OZsYUV8ndnB0m9g8YP8VXog6zoJRrdH9J6SAmcg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

<<attachment: test.zip>>

Reply via email to