roots / trellis

WordPress LEMP stack with PHP 8.2, Composer, WP-CLI and more
https://roots.io/trellis/
MIT License
2.51k stars 607 forks source link

Use trellis-cli for Vagrant galaxy install #1349

Closed swalkinshaw closed 2 years ago

swalkinshaw commented 2 years ago

This replaces the default galaxy command (ansible-galaxy install) with the much better trellis galaxy install if trellis-cli is available on the host machine.

With trellis-cli's command, there should be no reason to use the annoying SKIP_GALAXY env var which was added to prevent Vagrant from always installing the roles each time. trellis galaxy install is efficient and quickly skips already installed roles.