From b4bd992821d020692e8ead81e7876bdd4351fae1 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Sat, 13 Aug 2016 07:01:59 -0500 Subject: [PATCH] Stop expanding hostvars in ansible inventory We do not use the data in the expanded hostvars, so it results in a bunch of completely unneccessary api calls. Change-Id: I61bb7610e1dc46a6305a1b3f32f19d2e8ee8394c --- .../templates/puppetmaster/ansible-clouds.yaml.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/openstack_project/templates/puppetmaster/ansible-clouds.yaml.erb b/modules/openstack_project/templates/puppetmaster/ansible-clouds.yaml.erb index c72b21775a..87640baa51 100644 --- a/modules/openstack_project/templates/puppetmaster/ansible-clouds.yaml.erb +++ b/modules/openstack_project/templates/puppetmaster/ansible-clouds.yaml.erb @@ -1,5 +1,6 @@ ansible: fail_on_errors: False + expand_hostvars: False use_hostnames: True cache: expiration_time: 86400