Thanks for the reply. You led me on the right path. We found out that we 
generate a lot of IPs for our IP addressing plan and it takes a lot of time.

Thanks

Ludo

On Thursday, September 18, 2014 2:44:12 PM UTC+2, Serge van Ginderachter 
wrote:
>
>
> On 18 September 2014 14:25, 'Ludovic Petetin' via Ansible Project <
> [email protected] <javascript:>> wrote:
>
>> Has something changed in inventory load or anywhere else that could 
>> explain this?
>
>
>
> ​Yes. The fact that you notice this might be explained in that you have an 
> extensive inventory, with lots of groups and group_vars etc?
>
> Before 1.7.1, vars for hosts were read at the start of a play where that 
> host is targetted. But group vars were parsed each time again, for every 
> host that were member of a group. This made inialisation for a play 
> tareggting hosts: all painfully slow.
> Now, the whole inventory (especially group_vars and host_vars) are parsed 
> in 1 pass, but completely.
>
> This makes it a bit slower to initialize, but makes it lots faster at 
> execution.
>
>
> Could you time the same test with this playbook?
>
>
> - hosts: all
>   gather_facts: false
>   tasks:
>     - pause: seconds=0
>
>
>

-- 
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/4d2f6c2a-f5d8-4786-9ad7-407bdd39d5ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to