Hi all
I have a poor performance environement and running setup on it get a lot of time.
I know i can disable gathering fact with gather_facts: False
I’m trying this and it’s work fine
Hi all
I have a poor performance environement and running setup on it get a lot of time.
I know i can disable gathering fact with gather_facts: False
I’m trying this and it’s work fine
It's a return filter, all the facts will run but only the ones in the filter is returned.
To speed tings up check out fact caching[1].
Then you can have one playbook that only gather facts when needed, and the other playbooks don't need to gather facts since they will use the cache.
[1] https://docs.ansible.com/ansible/playbooks_variables.html#fact-caching