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
This commit is contained in:
Brian Coca 2018-02-06 08:50:48 -05:00 committed by Brian Coca
parent a7461179cf
commit 8ba8d1a131

View file

@ -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