Skip to content

Commit

Permalink
Suggested changes for #22
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelweiser committed Nov 28, 2018
1 parent f115974 commit ce47484
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Empty file modified PeekabooAV-install.sh
100644 → 100755
Empty file.
6 changes: 2 additions & 4 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
# vi: set ft=ruby :

Vagrant.configure("2") do |config|
config.vm.synced_folder '.', '/vagrant', disabled: true
config.vm.synced_folder '.', '/home/vagrant/peekabooav-installer'
config.vm.synced_folder '.', '/vagrant'

config.vm.define "peekaboo" do |peekaboo|
peekaboo.vm.box = "generic/ubuntu1804"
Expand All @@ -25,12 +24,11 @@ Vagrant.configure("2") do |config|

config.vm.provision "shell" do |install|
# change directory first (args + env not suitable)
install.inline = "/bin/bash -c 'cd peekabooav-installer; NOANSIBLE=yes ./PeekabooAV-install.sh --quiet'"
install.inline = "cd /vagrant && NOANSIBLE=yes ./PeekabooAV-install.sh --quiet"
end

config.vm.provision "ansible_local" do |ansible|
ansible.become = true
ansible.provisioning_path = "/home/vagrant/peekabooav-installer"
ansible.playbook = "PeekabooAV-install.yml"
ansible.inventory_path = "ansible-inventory"
ansible.limit = "all"
Expand Down

0 comments on commit ce47484

Please sign in to comment.