Vagrant uses integration testing inventory, described in #220

This commit is contained in:
Dave Stephens 2021-02-23 00:24:13 +00:00
parent 2a7d16209d
commit 6bf518c9ad
2 changed files with 1 additions and 2 deletions

1
Vagrantfile vendored
View file

@ -4,6 +4,7 @@ Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/bionic64" config.vm.box = "ubuntu/bionic64"
config.vm.network "private_network", ip: "172.30.1.5" config.vm.network "private_network", ip: "172.30.1.5"
config.ssh.insert_key = false config.ssh.insert_key = false
ansible.inventory_path = "tests/inventories/integration_testing/inventory"
config.vm.provision "ansible_local" do |ansible| config.vm.provision "ansible_local" do |ansible|
ansible.compatibility_mode = "2.0" ansible.compatibility_mode = "2.0"

View file

@ -33,8 +33,6 @@ test_needs() {
testing_init() { testing_init() {
log "Checking Vagrant installation" log "Checking Vagrant installation"
test_needs vagrant test_needs vagrant
log "Copy all.yml to test.yml"
cp -f $PLAYBOOK_DIR/group_vars/all.yml $PLAYBOOK_DIR/tests/test.yml
} }
header header