You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @hlieberman, this should have been fixed in d977da5, which is in devel, and will also be included in the next major release.
If you continue seeing any problems related to this issue, or if you have any further questions, please let us know by stopping by one of the two mailing lists, as appropriate:
Because this project is very active, we're unlikely to see comments made on closed tickets, but the mailing list is a great way to ask questions, or post if you don't think this particular issue is resolved.
Issue Type:
Bug Report
Ansible Version:
Ansible 1.9.2 (as distributed by Debian, 1.9.2+dfsg-1)
Ansible Configuration:
Any playbook containing conditionals involving facts.
Environment:
Debian Linux 8.1 (Jessie)
Summary:
After a timeout during a play on a slow host, plays involving conditionals fail on that host.
Steps To Reproduce:
(Copied from downstream ticket: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=792793)
I faced a timeout on a (slow) host:
Since this, playing playbooks failed on that host when conditionals
where used.
After some digging it appeared the fact cache for this host (using
jsonfile) only contained the following line:
{"module_setup": true}
So Ansible must not write in cache if any error occurred during fact
collection.
Expected Results:
Fact cache is either deleted upon failure to refresh on next run, or left intact with old data.
Actual Results:
Fact cache contains only module setup indication.
The text was updated successfully, but these errors were encountered: