From 330bfde495f87d536542fa1faa1bc746ed856af8 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Thu, 28 Apr 2016 13:17:47 -0500 Subject: [PATCH] Remove connection: localhost We are running into OOM issues on puppetmaster.o.o and our current thought process is because we are using connection: local, this is causing ansible to fork many times over, which is an expensive task. Change-Id: I3f2646765f0b442f7533aa7be44fc42b1916f172 Signed-off-by: Paul Belanger --- tasks/main.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 1e1f965..ce5428e 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -92,7 +92,6 @@ logfile: "{{ puppet_logfile }}" whoami: "{{ puppet_report_as }}" delegate_to: localhost - connection: local when: "{{ files.stdout_lines|length > 0 }}" when: puppetdb is defined and puppet_report_as is defined