[CORD-2874]
Fix deprecation warnings raised by Ansible 2.5

Change-Id: Icb607d267af2771b046b46399ce5f0d182f629ab
diff --git a/roles/fabric-refresh/tasks/main.yml b/roles/fabric-refresh/tasks/main.yml
index f069814..4ad7709 100644
--- a/roles/fabric-refresh/tasks/main.yml
+++ b/roles/fabric-refresh/tasks/main.yml
@@ -1,3 +1,4 @@
+---
 # Copyright 2017-present Open Networking Foundation
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -54,7 +55,7 @@
     body: "{{ slurpfile['content'] | b64decode }}"
     status_code: 200
   register: result
-  until: result | success
+  until: result is success
   retries: 5
   delay: 5