On 18 September 2014 14:25, 'Ludovic Petetin' via Ansible Project <
[email protected]> 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/CAEhzMJDAicgAr9%3DsCEtqXc30BW4QDgW8-9aGtJfhQqpMwV%3Ddig%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.