Vagrantfile 489 B

123456789101112131415161718
  1. # -*- mode: ruby -*-
  2. # vi: set ft=ruby :
  3. Vagrant.configure("2") do |config|
  4. config.vm.box = "{{ cookiecutter.target_os|lower}}/{{ cookiecutter.target_os_version }}"
  5. ENV['ANSIBLE_ROLES_PATH'] = "#{File.dirname(__FILE__)}/.."
  6. config.vm.provision "shell",
  7. inline: "DEBIAN_FRONTEND=noninteractive sudo apt-get -y install python"
  8. config.vm.provision "ansible" do |ansible|
  9. ansible.playbook = "tests/test-playbook.yml"
  10. ansible.sudo = "true"
  11. end
  12. end