It depends on the software. For software we get from aptitude (we run Ubuntu), we run apt every time.
For others, where we do more "manual" things, we might check if a directory exists, for example, and if not, proceed with the actual install using ansible's when: tag. We could definitely add more checks, and that would speed up our playbooks. Are you doing that? On Wednesday, 2 November 2016 19:50:49 UTC+1, Vince Skahan wrote: > > On Wednesday, November 2, 2016 at 8:52:54 AM UTC-7, fredsted wrote: > >> The whole process when deploying new code takes around 10 minutes, which >> my coworkers think is really *slow*. (obviously, on each node, it pulls >> down code from git, installs all the dependencies every time as well as >> composer, php-fpm, supervisor, virtual hosts, etc). >> >> >> > Does it 'install' everything every time, or 'verify' that the dependencies > are there, and only install something if it needs to ? > -- 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/d914dcff-d308-4570-82ed-c73417f228ca%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
