ansible-nas/Vagrantfile

18 lines
476 B
Ruby
Raw Normal View History

2018-12-28 13:00:32 +00:00
Vagrant.require_version ">= 2.2.2"
2018-12-23 23:55:28 +00:00
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/bionic64"
config.vm.network "private_network", ip: "172.30.1.5"
2018-12-28 13:00:32 +00:00
config.ssh.insert_key = false
2018-12-23 23:55:28 +00:00
config.vm.provision "ansible_local" do |ansible|
2018-12-28 13:00:32 +00:00
ansible.compatibility_mode = "2.0"
2018-12-23 23:55:28 +00:00
ansible.galaxy_role_file = "requirements.yml"
ansible.playbook = "nas.yml"
ansible.become = true
ansible.raw_arguments = [
"--extra-vars @tests/test.yml"
]
end
end