make timeout decorator for facts have a configurable duration (#16551)

* Add a gather_timeout parameter
* update example ansible.cfg
* fix play level fact gathering too
This commit is contained in:
jctanner 2016-07-08 17:46:41 -04:00 committed by GitHub
commit fe8258a378
5 changed files with 24 additions and 0 deletions

View file

@ -45,6 +45,13 @@
# A minimal set of facts is always gathered.
#gather_subset = all
# some hardware related facts are collected
# with a maximum timeout of 10 seconds. This
# option lets you increase or decrease that
# timeout to something more suitable for the
# environment.
# gather_timeout = 10
# additional paths to search for roles in, colon separated
#roles_path = /etc/ansible/roles