mirror of https://github.com/ansible/ansible.git
Fix local facts unreadable (#76095)
* Catch exceptions during stat calls If such an exception is not caught it causes the complete local facts gathering to fail.pull/78811/head
parent
9b8e60c36d
commit
1d410ca700
@ -0,0 +1,6 @@
|
|||||||
|
bugfixes:
|
||||||
|
- >-
|
||||||
|
local facts - if a local fact in the facts directory cannot be stated,
|
||||||
|
store an error message as the fact value and emit a warning just as if
|
||||||
|
just as if the facts execution has failed. The stat can fail e.g. on
|
||||||
|
dangling symlinks.
|
Loading…
Reference in New Issue