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:
parent
a7461179cf
commit
8ba8d1a131
1 changed files with 0 additions and 1 deletions
|
@ -97,7 +97,6 @@ class InventoryData(object):
|
||||||
'You can correct this by setting ansible_python_interpreter for localhost')
|
'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_python_interpreter", py_interp)
|
||||||
new_host.set_variable("ansible_connection", 'local')
|
new_host.set_variable("ansible_connection", 'local')
|
||||||
new_host.set_variable("ansible_remote_tmp", C.DEFAULT_LOCAL_TMP)
|
|
||||||
|
|
||||||
self.localhost = new_host
|
self.localhost = new_host
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue