Skip to content

Commit

Permalink
Merge pull request #1349 from roots/use-trellis-cli-for-galaxy-comman…
Browse files Browse the repository at this point in the history
…d-if-installed

Use trellis-cli for Vagrant galaxy install
  • Loading branch information
swalkinshaw authored Jan 4, 2022
2 parents 76f281a + 089f023 commit dee07be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ Vagrant.configure('2') do |config|
ansible.galaxy_role_file = File.join(provisioning_path, 'galaxy.yml') unless vconfig.fetch('vagrant_skip_galaxy') || ENV['SKIP_GALAXY']
ansible.galaxy_roles_path = File.join(provisioning_path, 'vendor/roles')

if which('trellis')
ansible.galaxy_command = 'trellis galaxy install'
end

ansible.groups = {
'web' => ['default'],
'development' => ['default']
Expand Down

0 comments on commit dee07be

Please sign in to comment.