Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Run Ansible Remotely via ssh" doesn't close session #119

Closed
bbung opened this issue May 30, 2018 · 4 comments
Closed

"Run Ansible Remotely via ssh" doesn't close session #119

bbung opened this issue May 30, 2018 · 4 comments

Comments

@bbung
Copy link

bbung commented May 30, 2018

Environment

  • Extension version: 0.2.6
  • OS Type: Windows

Summary

Remote executing ansible scripts is not closing the sessions after the execution. This results in a endless session stack on the remote machine during development.

Reproduce steps

  1. Create a ansible script
  2. setup remote execution with sercers.json file
  3. Run Ansible Remotely via ssh
  4. connect to executing machine a look for sessions with 'who'

Expected Results

close each session after execution

Actual Results

session is not beeing closed

@bbung
Copy link
Author

bbung commented May 30, 2018

Another solution may be to reuse the session as stated in #73

@yungezz
Copy link
Contributor

yungezz commented Jun 11, 2018

@bbung thanks for reporting the issue. Consideration of not closing the ssh session is that let user do custom ssh tasking using this session. Re-use session is under working, will update later.

@yungezz
Copy link
Contributor

yungezz commented Jul 24, 2018

reuse ssh terminal by settting ansible.reuseSSHTerminal. released in v0.3.0, pls try it and let us know if any feedback.

@yungezz yungezz closed this as completed Jul 24, 2018
@bbung
Copy link
Author

bbung commented Jul 30, 2018

Thank you, works like a charm. I figured a new maybe related issue though #149

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants