diff --git a/README.md b/README.md index 34c5413..c7245fd 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,9 @@ ### Testing -#### lime2-test +#### *-test -The lime2-test machine is a test VM managed by Vagrant. +Each machine from the inventory has a *-test variant defined in Vagrantfile for tests. To connect, we need to tell Ansible the connection details: ```bash diff --git a/Vagrantfile b/Vagrantfile index 59da80e..9413268 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -6,4 +6,8 @@ Vagrant.configure("2") do |config| lime2.vm.box = "debian/bookworm64" lime2.vm.hostname = "lime2-test" end + config.vm.define "srvmail-test" do |srvmail| + srvmail.vm.box = "debian/bookworm64" + srvmail.vm.hostname = "srvmail-test" + end end diff --git a/inventory.ini b/inventory.ini index 82e38fe..36dfd07 100644 --- a/inventory.ini +++ b/inventory.ini @@ -1,2 +1,4 @@ lime2 lime2-test remote_user=vagrant +srvmail +srvmail-test remote_user=vagrant