[CORD-2276]
Update to work with newer versions of Shade OpenStack lib
Change-Id: I4521f24fdbd31b27c93db73016dbd09c6753f2ac
diff --git a/xos/synchronizer/steps/sync_controller_users.yaml b/xos/synchronizer/steps/sync_controller_users.yaml
index 6ee36e1..82b0b09 100644
--- a/xos/synchronizer/steps/sync_controller_users.yaml
+++ b/xos/synchronizer/steps/sync_controller_users.yaml
@@ -1,4 +1,4 @@
-
+---
# Copyright 2017-present Open Networking Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -13,8 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-
----
- hosts: 127.0.0.1
connection: local
tasks:
@@ -26,6 +24,7 @@
username: "{{ admin_user }}"
password: "{{ admin_password }}"
project_name: "{{ admin_project }}"
+ interface: "admin"
name: "{{ name }}"
email: "{{ email }}"
password: "{{ password }}"
@@ -37,6 +36,7 @@
username: "{{ admin_user }}"
password: "{{ admin_password }}"
project_name: "{{ admin_project }}"
+ interface: "admin"
name: "{{ project }}"
{% for role in roles %}
@@ -47,6 +47,7 @@
username: "{{ admin_user }}"
password: "{{ admin_password }}"
project_name: "{{ admin_project }}"
+ interface: "admin"
name: "{{ role }}"
- name: Add role "{{ role }}" to user "{{ name }}" on project "{{ project }}"