From 0908b25d45b9a5297ed341f136f8d42e59438553 Mon Sep 17 00:00:00 2001
From: Bogdan Dobrelya <bdobreli@redhat.com>
Date: Wed, 21 Jun 2017 15:22:09 +0200
Subject: Use cached facts, do not become for localhost (#484)

Prohibit sudoing for localhost played tasks, like DNS setup.
Re-use cached facts to speed up deployment.

Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
---
 roles/openstack-stack/test/stack-create-test.yml | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'roles/openstack-stack/test')

diff --git a/roles/openstack-stack/test/stack-create-test.yml b/roles/openstack-stack/test/stack-create-test.yml
index 0fbf66f34..d80472193 100644
--- a/roles/openstack-stack/test/stack-create-test.yml
+++ b/roles/openstack-stack/test/stack-create-test.yml
@@ -1,5 +1,7 @@
 ---
 - hosts: localhost
+  gather_facts: True
+  become: False
   roles:
   - role: openstack-stack
     stack_name: test-stack
-- 
cgit v1.2.3