[CORD-2276]
Update to work with newer versions of Shade OpenStack lib
Change-Id: I4521f24fdbd31b27c93db73016dbd09c6753f2ac
diff --git a/xos/synchronizer/steps/sync_instances.yaml b/xos/synchronizer/steps/sync_instances.yaml
index be8b81e..8557ac1 100644
--- a/xos/synchronizer/steps/sync_instances.yaml
+++ b/xos/synchronizer/steps/sync_instances.yaml
@@ -1,4 +1,4 @@
-
+---
# Copyright 2017-present Open Networking Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -13,11 +13,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-
----
- hosts: 127.0.0.1
connection: local
tasks:
+
- os_server:
name: "{{ name }}"
auth:
@@ -25,6 +24,7 @@
username: "{{ admin_user }}"
password: "{{ admin_password }}"
project_name: "{{ project_name }}"
+ interface: "admin"
{% if delete -%}
state: absent
{% else -%}