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

Add remote execution via SSH? #377

Closed
andreynering opened this issue Sep 13, 2020 · 11 comments
Closed

Add remote execution via SSH? #377

andreynering opened this issue Sep 13, 2020 · 11 comments
Labels
type: feature A new feature or functionality. type: proposal A ticket that proposes a new feat/enhancement.

Comments

@andreynering
Copy link
Member

Originally suggestion on Reddit

@andreynering andreynering added type: feature A new feature or functionality. type: proposal A ticket that proposes a new feat/enhancement. labels Sep 13, 2020
@DanyHenriquez
Copy link

Would this really add value?

I'm trying to review the issues and maybe make some pull requests. This is a task runner and not a Fabric script/remote execution tool. So would this not add extra complexity that is not needed when we can just use the ssh command in a task when it is needed?

From the docs:
Task is a task runner / build tool that aims to be simpler and easier to use than, for example, GNU Make.

@futuretim
Copy link

I started a discussion before I found this issue but I created a proof-of-concept of this (naive implementation). But before I worked on it any more I did want to find out what upstream thought about the idea. Thanks!

@marco-m-pix4d
Copy link
Contributor

Related project that might give some ideas: https://github.com/prologic/shops

@danielr1996
Copy link

What would the benefits be compared to just running ssh -t user@host "ls -la" as a command?

@futuretim
Copy link

One thought was to integrate it better into the experience of running tasks remotely so they felt like running tasks locally. Of course you can do what you suggest and several other things to accomplish that.

For that matter Taskfiles can be done with Makefiles. :)

@andreynering
Copy link
Member Author

Hi @futuretim, I found work you mentioned here: https://github.com/futuretim/task/tree/remote_servers

I would say that this idea of running tasks remotely has very low priority at the moment. This issue is open so we have some discussion on how that would work if it eventually happen.

@DanyHenriquez
Copy link

@futuretim That would have been a better idea in stead of tinkering with it to try and see if it fits without asking, like i did

@pd93
Copy link
Member

pd93 commented Jan 18, 2024

I think this issue can be closed now that we have the Remote Taskfiles experiment. Work on this is far from complete, but progress can be tracked in #1317.

@pd93 pd93 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 18, 2024
@andreynering
Copy link
Member Author

@pd93 This issue is a different proposal, though. The idea here is that the commands listed on cmds: are executed remotely in another machine using SSH. It's similar to the proposal to execute the commands inside a Docker machine.

@andreynering andreynering reopened this Jan 18, 2024
@pd93
Copy link
Member

pd93 commented Jan 18, 2024

Ah ok. I misunderstood the intention of the issue. This reminds me of #448 (comment). I feel like it might fit better under that issue instead?

@andreynering
Copy link
Member Author

Good point. Closing in favor of #448.

@andreynering andreynering closed this as not planned Won't fix, can't repro, duplicate, stale Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature A new feature or functionality. type: proposal A ticket that proposes a new feat/enhancement.
Projects
None yet
Development

No branches or pull requests

7 participants