aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters')
-rwxr-xr-xdeploy/adapters/ansible/ansible_modules/keystone_endpoint.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/ansible_modules/keystone_endpoint.py b/deploy/adapters/ansible/ansible_modules/keystone_endpoint.py
index 0201dd26..fae2ec66 100755
--- a/deploy/adapters/ansible/ansible_modules/keystone_endpoint.py
+++ b/deploy/adapters/ansible/ansible_modules/keystone_endpoint.py
@@ -180,7 +180,8 @@ def main():
endpoints = [x for x in cloud.list_endpoints()
if (x.service_id == service.id and
- x.interface == interface)]
+ x.interface == interface and
+ x.region == region)]
count = len(endpoints)
if count > 1: