summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorBogdan Dobrelya <bdobreli@redhat.com>2017-06-21 15:22:09 +0200
committerRyan Cook <rcook@redhat.com>2017-06-21 09:22:09 -0400
commit0908b25d45b9a5297ed341f136f8d42e59438553 (patch)
treec3b5b93f4b53cfd224614638fb057e2be1a27775 /roles
parent6457152be04098c7f765b322447006bdb052509f (diff)
downloadopenshift-0908b25d45b9a5297ed341f136f8d42e59438553.tar.gz
openshift-0908b25d45b9a5297ed341f136f8d42e59438553.tar.bz2
openshift-0908b25d45b9a5297ed341f136f8d42e59438553.tar.xz
openshift-0908b25d45b9a5297ed341f136f8d42e59438553.zip
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>
Diffstat (limited to 'roles')
-rw-r--r--roles/openstack-stack/test/stack-create-test.yml2
1 files changed, 2 insertions, 0 deletions
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