Skip to content

Commit

Permalink
Merge pull request #11 from pddg/fix/enhance_vagrant
Browse files Browse the repository at this point in the history
Enhance vagrant
  • Loading branch information
lecorguille authored Sep 26, 2019
2 parents f0b4e89 + 246f402 commit 03b9881
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,12 @@ Vagrant.configure("2") do |config|

vms.vm.network :private_network, ip: box[:ip]

vms.vm.provision :ansible do |ansible|
ansible.playbook = "tests/vagrant.yml"
ansible.verbose = "vv"
if box[:name] == boxes.last[:name]
vms.vm.provision :ansible do |ansible|
ansible.playbook = "tests/vagrant.yml"
ansible.verbose = "vv"
ansible.limit = "all"
end
end
end
end
Expand Down
2 changes: 2 additions & 0 deletions tests/vagrant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@
when: ansible_os_family == "Debian"
roles:
- ../../
vars:
golang_gopath: /opt/go/packages
1 change: 1 addition & 0 deletions vars/Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ singularity_software_base:
- squashfs-tools
- libseccomp-dev
- pkg-config
- git

0 comments on commit 03b9881

Please sign in to comment.