Re: [jenkins-ci PATCH 4/5] guests: Create ccache symlink farm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2018-04-19 at 17:36 +0200, Martin Kletzander wrote:
> > Replicate the setup in the user's ~/.ccache directory so
> > that it works across all guests. With the linke farm in
> 
> s/linke/link/ ?

Close: I actually meant to write Linkle[1] :P

> > - name: '{{ flavor }}: Configure ccache'
> >   file:
> > -    path: /home/{{ flavor }}/.ccache
> > +    path: /home/{{ flavor }}/.{{ item }}
> >     state: directory
> >     owner: '{{ flavor }}'
> >     group: '{{ flavor }}'
> > +  with_items:
> > +    - ccache
> > +    - ccache/bin
> 
> With new enough ansible, you don't need the 'ccache' entry as this
> behaves similarly to `mkdir -p`:
> 
>   "If directory, all immediate subdirectories will be created if they do
>   not exist, since 1.7 they will be created with the supplied
>   permissions." [1]

If you dig through the playbooks, you'll certainly find no lack of
suboptimal or roundabout approaches to the problem at hand, mostly
as a consequence of me pretty much figuring out Ansible as I went.

I'll be make to get rid of this specific instance before pushing.
More patches in the spirit would be very much welcome O:-)


[1] https://zelda.gamepedia.com/Linkle
-- 
Andrea Bolognani / Red Hat / Virtualization

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux