mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user