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

Change-Id: Icb607d267af2771b046b46399ce5f0d182f629ab
diff --git a/roles/xos-config/tasks/main.yml b/roles/xos-config/tasks/main.yml
index 8c8ee38..00454b5 100644
--- a/roles/xos-config/tasks/main.yml
+++ b/roles/xos-config/tasks/main.yml
@@ -25,7 +25,7 @@
     body: "{{ lookup('file', head_cord_profile_dir + '/' + item ) }}"
     status_code: 200
   register: result
-  until: result | success
+  until: result is success
   retries: 50
   delay: 5
   with_items:
@@ -42,7 +42,7 @@
     body: "{{ lookup('file', head_cord_profile_dir + '/' + item ) }}"
     status_code: 200
   register: result
-  until: result | success
+  until: result is success
   retries: 50
   delay: 5
   with_items:
@@ -58,7 +58,7 @@
     body: "{{ lookup('file', head_cord_profile_dir + '/' + item ) }}"
     status_code: 200
   register: result
-  until: result | success
+  until: result is success
   retries: 50
   delay: 5
   with_items: "{{ xos_tosca_config_templates + xos_new_tosca_config_templates }}"