Re: [ansible-project] Errativ behavior when looping over a fileglob

2017-11-08 Thread Marc Haber
Hi Kai, thanks for the nudge. I was able to solve the issue. On Tue, Nov 07, 2017 at 07:35:06PM +0100, Kai Stian Olstad wrote: > On 07. nov. 2017 19:21, Marc Haber wrote: > > - name: remove extra files that may be on the systems > >file: > > path: "{{ item }}" > > state: absent > >

Re: [ansible-project] Errativ behavior when looping over a fileglob

2017-11-07 Thread Kai Stian Olstad
On 07. nov. 2017 19:21, Marc Haber wrote: > Hi, > > I am trying to remove a bunch of files wiht the following code: > > $ cat site.yml > --- > - name: apply common configuration >hosts: all >remote_user: root >become: "yes" >roles: > - common > $ cat roles/common/tasks/repos.

[ansible-project] Errativ behavior when looping over a fileglob

2017-11-07 Thread Marc Haber
Hi, I am trying to remove a bunch of files wiht the following code: $ cat site.yml --- - name: apply common configuration hosts: all remote_user: root become: "yes" roles: - common $ cat roles/common/tasks/repos.yml --- - name: remove extra files that may be on the systems file: