[CORD-2874]
Fix deprecation warnings raised by Ansible 2.5
Change-Id: Icb607d267af2771b046b46399ce5f0d182f629ab
diff --git a/roles/juju-finish/tasks/main.yml b/roles/juju-finish/tasks/main.yml
index 54828b0..9d24c37 100644
--- a/roles/juju-finish/tasks/main.yml
+++ b/roles/juju-finish/tasks/main.yml
@@ -1,4 +1,4 @@
-
+---
# Copyright 2017-present Open Networking Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -13,15 +13,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-
----
# juju-finish/tasks/main.yml
# run another time, so services will be in juju_services list
- name: Obtain Juju Facts after service creation
juju_facts:
register: result
- until: result | success
+ until: result is success
retries: 3
delay: 15