Refactor actions in preparation for adding ssh_run
Add action ssh_run