mirror of
https://github.com/davestephens/ansible-nas
synced 2024-11-15 08:27:19 +00:00
18 lines
553 B
Ruby
18 lines
553 B
Ruby
Vagrant.require_version ">= 2.2.2"
|
|
|
|
Vagrant.configure(2) do |config|
|
|
config.vm.box = "ubuntu/bionic64"
|
|
config.vm.network "private_network", ip: "172.30.1.5"
|
|
config.ssh.insert_key = false
|
|
ansible.inventory_path = "tests/inventories/integration_testing/inventory"
|
|
|
|
config.vm.provision "ansible_local" do |ansible|
|
|
ansible.compatibility_mode = "2.0"
|
|
ansible.galaxy_role_file = "requirements.yml"
|
|
ansible.playbook = "nas.yml"
|
|
ansible.become = true
|
|
ansible.raw_arguments = [
|
|
"--extra-vars @tests/test.yml"
|
|
]
|
|
end
|
|
end
|