File tree Expand file tree Collapse file tree 3 files changed +2
-9
lines changed Expand file tree Collapse file tree 3 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -63,11 +63,8 @@ def run_shell_command(
63
63
64
64
if use_sudo_password :
65
65
command_kwargs ['use_sudo_password' ] = get_sudo_password (
66
- state ,
67
66
host ,
68
67
use_sudo_password ,
69
- run_shell_command = run_shell_command ,
70
- put_file = put_file ,
71
68
)
72
69
73
70
chroot_directory = host .host_data ['chroot_directory' ]
Original file line number Diff line number Diff line change @@ -65,9 +65,7 @@ def run_shell_command(
65
65
66
66
if use_sudo_password :
67
67
command_kwargs ['use_sudo_password' ] = get_sudo_password (
68
- state , host , use_sudo_password ,
69
- run_shell_command = run_shell_command ,
70
- put_file = put_file ,
68
+ host , use_sudo_password
71
69
)
72
70
73
71
def execute_command ():
Original file line number Diff line number Diff line change @@ -271,9 +271,7 @@ def run_shell_command(
271
271
272
272
if use_sudo_password :
273
273
command_kwargs ['use_sudo_password' ] = get_sudo_password (
274
- state , host , use_sudo_password ,
275
- run_shell_command = run_shell_command ,
276
- put_file = put_file ,
274
+ host , use_sudo_password
277
275
)
278
276
279
277
def execute_command ():
You can’t perform that action at this time.
0 commit comments