mirror of
https://github.com/davestephens/ansible-nas
synced 2024-12-24 02:23:06 +00:00
Vagrant uses integration testing inventory, described in #220
This commit is contained in:
parent
2a7d16209d
commit
6bf518c9ad
2 changed files with 1 additions and 2 deletions
1
Vagrantfile
vendored
1
Vagrantfile
vendored
|
@ -4,6 +4,7 @@ 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"
|
||||
|
|
|
@ -33,8 +33,6 @@ test_needs() {
|
|||
testing_init() {
|
||||
log "Checking Vagrant installation"
|
||||
test_needs vagrant
|
||||
log "Copy all.yml to test.yml"
|
||||
cp -f $PLAYBOOK_DIR/group_vars/all.yml $PLAYBOOK_DIR/tests/test.yml
|
||||
}
|
||||
|
||||
header
|
||||
|
|
Loading…
Reference in a new issue