aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/core/ansible.py
diff options
context:
space:
mode:
Diffstat (limited to 'xtesting/core/ansible.py')
-rw-r--r--xtesting/core/ansible.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtesting/core/ansible.py b/xtesting/core/ansible.py
index 7ccace9f..fa7b533c 100644
--- a/xtesting/core/ansible.py
+++ b/xtesting/core/ansible.py
@@ -58,7 +58,7 @@ class Ansible(testcase.TestCase):
kwargs["quiet"] = True
kwargs["artifact_dir"] = self.res_dir
runner = ansible_runner.run(**kwargs)
- self.details = runner.stats
+ self.details = runner.stats or {}
if runner.rc == 0:
self.result = 100
status = self.EX_OK