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
pull/35868/head
Brian Coca 7 years ago committed by Brian Coca
parent a7461179cf
commit 8ba8d1a131

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

Loading…
Cancel
Save