No need to gather facts on localhost (#5251)

It's unnecessary and breaks when running from within a docker container:
```
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TimeoutError: Timer expired after 10 seconds
fatal: [localhost]: FAILED! => {"changed": false, "cmd": "/usr/sbin/udevadm info --query property --name /dev/mapper/vg00-root", "msg": "Timer expired after 10 seconds", "rc": 257}
```
This commit is contained in:
Mateus Caruccio 2019-10-15 10:57:53 -03:00 committed by Kubernetes Prow Robot
parent 932935ecc7
commit 03cac2109c

View file

@ -1,6 +1,7 @@
--- ---
- hosts: localhost - hosts: localhost
become: no become: no
gather_facts: False
tasks: tasks:
- name: "Check ansible version >=2.7.8" - name: "Check ansible version >=2.7.8"
assert: assert: