Skip to content

localhost as VM provider #631

@hemangajmera

Description

@hemangajmera

Summary

Can we have support to run trellis on the localhost without any vm.

I am currently on windows, and I can create a dedicated WSL for trellis. My plan is to install trellis-cli there and run everything on same wsl without and vm.

This might be useful for someone to run trellis on a standalone linux server which is where ansible can be run.

Additional context

To test this configuration...

  • Get a new ubuntu server on digital ocean
  • Install python3-pip, python3-venv and python-is-python3
  • Install trellis
  • Run trellis new
  • Somewhere in the the trellis vm config we should have option to mention localhost
  • update host/development file to have server as 127.0.0.1 ansible_connection=local => this may be automated based on above option
  • now trellis provision development should work

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions