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:
parent
932935ecc7
commit
03cac2109c
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue