I just created the following test with a faked lsblk command, because this is called in
* created a /usr/local/bin/lsblk bash script with "sleep 10"
* check that my faked lsblk command is used: which lsblk: /usr/local/bin/lsblk
* set in ansible.cfg "gather_timeout = 1"
* run "time ansible testhost -b -m setup", this took 12 seconds, no warning shown
* run "time ansible-playbook facts.yaml -b -l testhost" (facts.yaml is a playbook which just gather facts), his took 12 seconds, no warning shown
I'm sure that my faked lsblk command is used, because when I change the sleep from 10 to 20,
the ansible and ansible-playbook runs take 22 instead of the previous 12 seconds.
I would expect a warning from the above ansible and ansible-playbook runs, but nothing is shown.