From 8ba8d1a131f4a6f77a0129fc4bd8d1b3a9c26542 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Tue, 6 Feb 2018 08:50:48 -0500 Subject: [PATCH] remove new tmp var for localhost this was causing issues with keep remote files as the 'local cleanup' would trump the setting. it will revert back to using the 'remote path' setti.ng for 'localhost' actions. fixes #35724 --- lib/ansible/inventory/data.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/ansible/inventory/data.py b/lib/ansible/inventory/data.py index e7674eb7db..04308a0ed9 100644 --- a/lib/ansible/inventory/data.py +++ b/lib/ansible/inventory/data.py @@ -97,7 +97,6 @@ class InventoryData(object): 'You can correct this by setting ansible_python_interpreter for localhost') new_host.set_variable("ansible_python_interpreter", py_interp) new_host.set_variable("ansible_connection", 'local') - new_host.set_variable("ansible_remote_tmp", C.DEFAULT_LOCAL_TMP) self.localhost = new_host