From 03cac2109cc474215bd72155280983a600e01a8e Mon Sep 17 00:00:00 2001
From: Mateus Caruccio <mateus.caruccio@getupcloud.com>
Date: Tue, 15 Oct 2019 10:57:53 -0300
Subject: [PATCH] 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}
```
---
 reset.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/reset.yml b/reset.yml
index b790ac490..14cbf9400 100644
--- a/reset.yml
+++ b/reset.yml
@@ -1,6 +1,7 @@
 ---
 - hosts: localhost
   become: no
+  gather_facts: False
   tasks:
     - name: "Check ansible version >=2.7.8"
       assert:
-- 
GitLab