From 82725deebf3eda7536c51615d061af4ebaa449cf Mon Sep 17 00:00:00 2001
From: caoyuan <cao.yuan@99cloud.net>
Date: Mon, 19 Mar 2018 14:40:32 +0800
Subject: [PATCH] Make the certificates role just run on deploy node

when run command "kolla-ansible -i multinode certificates",
the certificates file will generated in all nodes, it is
unnecessary, this ps to make it in deploy node.

Change-Id: I3e98ab498eeec3e6b8f170dd29c95f7ff9dbd6c0
---
 ansible/certificates.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ansible/certificates.yml b/ansible/certificates.yml
index 7783d700a9..f8021fcfc3 100644
--- a/ansible/certificates.yml
+++ b/ansible/certificates.yml
@@ -1,5 +1,5 @@
 ---
 - name: Apply role certificates
-  hosts: all
+  hosts: localhost
   roles:
     - certificates