On 01.06.2019 01:04, Wawrzek Niewodniczanski wrote: > 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
I can confirm this behavior, but it's only the owner that causing problems. So it's a bug in unarchive when using become and the owner parameter is different from root in Ansible 2.8.0 that I tested on. -- Kai Stian Olstad -- 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/9094667a-d5cb-9646-bece-0e2b4d8d89b0%40olstad.com. For more options, visit https://groups.google.com/d/optout.
