Skip to content

Commit

Permalink
remove redundant code
Browse files Browse the repository at this point in the history
Signed-off-by: rohitthakur2590 <[email protected]>
  • Loading branch information
rohitthakur2590 committed Jul 1, 2024
1 parent dfaf645 commit 67e1286
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion changelogs/fragments/fix_f5_remote_addr_mapping.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
bugfixes:
- Correctly supply the provided variables(remote server,host,port) addr as part of options to persistent connection.
- Properly pass the provided variables (remote server, host, port) as options to the persistent connection.
1 change: 0 additions & 1 deletion plugins/connection/persistent.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ def run(self):
host=self._play_context.remote_addr,
)
options = self.get_options()
options["ansible_command_timeout"] = self.get_option("persistent_command_timeout")
for option in self._options.keys():
options[option] = self.get_option(option)
socket_path = start_connection(self._play_context, options, self._task_uuid)
Expand Down

0 comments on commit 67e1286

Please sign in to comment.