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

Use trellis-cli for Vagrant galaxy install #1349

Merged

Conversation

swalkinshaw
Copy link
Member

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.

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.
@swalkinshaw swalkinshaw force-pushed the use-trellis-cli-for-galaxy-command-if-installed branch from f51ef37 to 089f023 Compare January 4, 2022 15:58
@swalkinshaw swalkinshaw merged commit dee07be into master Jan 4, 2022
@swalkinshaw swalkinshaw deleted the use-trellis-cli-for-galaxy-command-if-installed branch January 4, 2022 16:15
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

Successfully merging this pull request may close these issues.

1 participant