commit | cb53df72c4d10cb703532dc53c389d99a31b0177 | [log] [tgz] |
---|---|---|
author | Sapan Bhatia <gwsapan@gmail.com> | Mon Feb 06 16:13:06 2017 -0800 |
committer | Sapan Bhatia <gwsapan@gmail.com> | Mon Feb 06 16:13:06 2017 -0800 |
tree | 0742e38aefd8c7fdbaa4e0f9f2e969460ce221f6 | |
parent | a89ee51558f75ac4eddbda8943967850995f6c54 [diff] |
CORD-706: BUG: Interpret unreachable nodes as failures Change-Id: I047366b03f2dd627963dd684bfde61a82ef3b4f4
diff --git a/xos/synchronizers/base/ansible_helper.py b/xos/synchronizers/base/ansible_helper.py index 9061fd9..d39e45a 100644 --- a/xos/synchronizers/base/ansible_helper.py +++ b/xos/synchronizers/base/ansible_helper.py
@@ -82,6 +82,7 @@ if not x.is_failed() and not x.is_unreachable() and not x.is_skipped(): ok_results.append(x) elif x.is_unreachable(): + failed+=1 total_unreachable+=1 try: error_msg.append(x._result['msg'])