File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,17 @@ def run(self):
7272 "starting connection from persistent connection plugin" ,
7373 host = self ._play_context .remote_addr ,
7474 )
75- variables = {"ansible_command_timeout" : self .get_option ("persistent_command_timeout" )}
75+ variables = {
76+ "ansible_command_timeout" : self .get_option (
77+ "persistent_command_timeout"
78+ ),
79+ "remote_addr" : self .get_option ("remote_addr" ),
80+ "remote_user" : self .get_option ("remote_user" ),
81+ "password" : self .get_option ("password" ),
82+ "port" : self .get_option ("port" ),
83+ "private_key_file" : self .get_option ("private_key_file" )
84+ }
85+ self ._play_context .connection
7686 socket_path = start_connection (self ._play_context , variables , self ._task_uuid )
7787 display .vvvv (
7888 "local domain socket path is %s" % socket_path ,
You can’t perform that action at this time.
0 commit comments