mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-15 17:40:50 -07:00
Facts Timeout was not settable via ansible.cfg
The timeout for gathering facts needs to be settable from three places
(highest precedence to lowest):
* programmatically
* ansible.cfg (equivalent to the user specifying it explicitly when
calling setup)
* from the default value
The code was changed in b4bd6c80de
to
allow programmatically and the default value to work correctly but
setting via ansible.cfg/parameter was broken.
This change should fix setting via ansible.cfg and adds unittests for
all three cases
Fixes #23753
This commit is contained in:
parent
806506c032
commit
d088030fa6
3 changed files with 120 additions and 6 deletions
0
test/units/module_utils/facts/__init__.py
Normal file
0
test/units/module_utils/facts/__init__.py
Normal file
Loading…
Add table
Add a link
Reference in a new issue